X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=d0.h;h=6c55afeb50f24bd316079ae46582e65f8020b19b;hb=c32ee93edd10288ca40e1eb81263f0a37309b32c;hp=a6b551ba6968466f5bf1003bd1f000cd29beb698;hpb=f6aeffa5a621516e73fa72d2471c2a77d8a831a2;p=xonotic%2Fd0_blind_id.git diff --git a/d0.h b/d0.h index a6b551b..6c55afe 100644 --- a/d0.h +++ b/d0.h @@ -39,6 +39,7 @@ #include // size_t #define D0_EXPORT __attribute__((__visibility__("default"))) +#define D0_USED __attribute__((used)) #define D0_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) #define D0_BOOL int @@ -58,6 +59,7 @@ extern d0_unlockmutex_t *d0_unlockmutex; void d0_setmallocfuncs(d0_malloc_t *m, d0_free_t *f); void d0_setmutexfuncs(d0_createmutex_t *c, d0_destroymutex_t *d, d0_lockmutex_t *l, d0_unlockmutex_t *u); +void d0_initfuncs(void); // initializes them, this needs to be only called internally once extern const char *d0_bsd_license_notice;