summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-03 22:46:04 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-03 22:46:04 +0200
commitc1523798a5acd5df2dc3f1289d1f236e1f4b581a (patch)
tree067bb0d37df093f65e9dc22e5cd1c660bd3a81d2
parent317cb21280d7f47103d149d79c1a147aabfae1ed (diff)
downloadkit-c1523798a5acd5df2dc3f1289d1f236e1f4b581a.zip
Update README
-rw-r--r--README7
1 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index 417477b..bfba646 100644
--- a/README
+++ b/README
@@ -23,7 +23,14 @@ Features
- Random number generation
- Async functions (coroutines)
+Preprocessor options
+- KIT_DISABLE_SHORT_NAMES - Disable short names for functions and types.
+- KIT_DISABLE_SYSTEM_MALLOC - Disable system memory allocation functions.
+- KIT_DISABLE_SYSTEM_THREADS - Disable system multithreading functions.
+- KIT_DISABLE_SYSTEM_SOCKETS - Disable system socket library.
+
Condition variables, mutual exclusion and threads implementation was forked from Mesa source code.
* https://gitlab.freedesktop.org/mesa/mesa
Folder "/include" contains header-only version of this library.
+Use "#define KIT_IMPLEMENTATION" to enable implementation code.