]> git.xonotic.org Git - xonotic/d0_blind_id.git/blobdiff - d0.h
Merge branch 'little_update' into 'master'
[xonotic/d0_blind_id.git] / d0.h
diff --git a/d0.h b/d0.h
index a6b551ba6968466f5bf1003bd1f000cd29beb698..6c55afeb50f24bd316079ae46582e65f8020b19b 100644 (file)
--- a/d0.h
+++ b/d0.h
@@ -39,6 +39,7 @@
 #include <unistd.h> // 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;