mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 20:24:39 +00:00
use NB_DECLARE_TYPE
This commit is contained in:
parent
0a74700858
commit
6e30daf3b3
@ -11,13 +11,13 @@
|
||||
|
||||
/* Standard */
|
||||
|
||||
typedef struct nb_version {
|
||||
NB_DECLARE_TYPE(version, {
|
||||
int major;
|
||||
int minor;
|
||||
int patch;
|
||||
char full[64];
|
||||
char opengl[32];
|
||||
} nb_version_t;
|
||||
});
|
||||
#else
|
||||
typedef void nb_version_t;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user