From 8f4ba2f57784d2fe3c9aa1b429c8c7657d698030 Mon Sep 17 00:00:00 2001 From: Mosder Date: Mon, 17 Aug 2026 12:18:25 +0200 Subject: docs: added documentation about defining macros to change how lib works --- include/moslib.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/moslib.h') 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" -- cgit v1.2.3