19 io_printf(base.
io,
"%s %d.%d.%d\n", name, major, minor, patch);
#define STA_DECL
sal2 annotation on function implementations to copy annotations from the declaration
#define CT_VERSION_MAJOR(version)
returns the major version of version
#define CT_VERSION_MINOR(version)
returns the minor version of version
#define CT_VERSION_PATCH(version)
returns the patch version of version
CT_IO_API size_t io_printf(io_t *io, STA_FORMAT_STRING const char *fmt,...)
printf to an io object
#define CTASSERT(expr)
assert a condition, prints the condition as a message
version formatting config
print_options_t options
the options to use when printing
version information for a driver/interface/plugin
const char * license
the license of this component
const char * author
the author of this component
const char * desc
a short description of this component
ctu_version_t version
the version info for this component