mirror of
https://github.com/nishiowo/nishbox
synced 2025-04-21 20:24:39 +00:00
fix expose
This commit is contained in:
parent
ad150aba7e
commit
34634d31c4
@ -6,13 +6,16 @@
|
||||
/* External library */
|
||||
|
||||
/* NishBox */
|
||||
#ifdef NB_EXPOSE_CORE
|
||||
#include <nb_draw.h>
|
||||
#endif
|
||||
|
||||
/* Standard */
|
||||
|
||||
#ifdef NB_EXPOSE_CORE
|
||||
typedef struct nb_engine {
|
||||
dWorldID world;
|
||||
void* draw; /* User should not touch this directly: internally pointer of nb_draw_t */
|
||||
dWorldID world;
|
||||
nb_draw_t* draw;
|
||||
} nb_engine_t;
|
||||
#else
|
||||
typedef void nb_engine_t;
|
||||
|
@ -1,5 +1,3 @@
|
||||
/* Interface */
|
||||
|
||||
/* NishBox */
|
||||
#include <nb_version.h>
|
||||
#include <nb_core.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user