use NB_DECLARE_TYPE

This commit is contained in:
NishiOwO 2025-04-03 18:21:18 +09:00
parent 0a74700858
commit 6e30daf3b3
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343

View File

@ -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