aboutsummaryrefslogtreecommitdiff
path: root/include/moslib.h
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-08-17 12:18:25 +0200
committerMosder <xmosder12@gmail.com>2026-08-17 12:18:25 +0200
commit8f4ba2f57784d2fe3c9aa1b429c8c7657d698030 (patch)
tree2aa7481bd14ff0566244e1c7dc057e2733057e19 /include/moslib.h
parentdb24efc8c918b323145825735b51f574c6855f00 (diff)
docs: added documentation about defining macros to change how lib works
Diffstat (limited to 'include/moslib.h')
-rw-r--r--include/moslib.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/moslib.h b/include/moslib.h
index 341db7e..b863678 100644
--- a/include/moslib.h
+++ b/include/moslib.h
@@ -2,6 +2,13 @@
// Main header file of the library
// Contains all other header files
+// By default the library doesn't force the use of a prefix
+// You can force the use of the "mos" prefix by defining (before including any header):
+//
+// #define MOS_FORCE_PREFIXES
+//
+// This way you can, for example, avoid collisions
+
#include "moslib/ds/array.h"
#include "moslib/mem/alloc.h"
#include "moslib/tester.h"