GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
1
7#ifndef __GF_TYPE_VERSION_H__
8#define __GF_TYPE_VERSION_H__
9
10#include <gf_pre.h>
11#include <gf_macro.h>
12
13#ifdef GF_EXPOSE_VERSION
14typedef struct gf_version_t gf_version_t;
15
16/* External library */
17
18/* Engine */
19
20/* Standard */
21
57GF_DECLARE_TYPE(version, {
58 int major;
59 int minor;
60 int patch;
61 char date[64];
62 char full[64];
63 char backend[32];
64 char driver[32];
65 char lua[32];
66 char zlib[32];
67 char thread[32];
68});
69#else
70#error "should not happen!"
71#endif
72
73#endif
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:180
Required headers before anything.
Version.
Definition version.h:68
int major
Major version.
Definition version.h:68
char backend[32]
Name of the rendering backend.
Definition version.h:68
char zlib[32]
zlib version
Definition version.h:68
int patch
Patch version.
Definition version.h:68
int minor
Minor version.
Definition version.h:68
char full[64]
Full version.
Definition version.h:68
char driver[32]
Name of the rendering driver.
Definition version.h:68
char date[64]
Build date.
Definition version.h:68
char thread[32]
Name of the thread model used.
Definition version.h:68
char lua[32]
Lua version.
Definition version.h:68