Cthulhu  0.2.10
Cthulhu compiler collection
version.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-only
2 
3 #pragma once
4 
5 #include <ctu_format_api.h>
6 
7 #include "format/format.h"
8 
9 #include "core/version_def.h"
10 #include "core/analyze.h"
11 
13 
18 
20 typedef struct print_version_t
21 {
25 
31 CT_FORMAT_API void print_version(print_version_t config, version_info_t version, IN_STRING const char *name);
32 
34 
#define IN_STRING
annotate a parameter as being a null terminated string
#define CT_BEGIN_API
Definition: compiler.h:129
#define CT_END_API
Definition: compiler.h:130
CT_FORMAT_API void print_version(print_version_t config, version_info_t version, const char *name)
print the version of the program
Definition: version.c:9
generic print options
Definition: format.h:35
version formatting config
Definition: version.h:21
print_options_t options
the options to use when printing
Definition: version.h:23
version information for a driver/interface/plugin
Definition: version_def.h:48