aboutsummaryrefslogtreecommitdiff
path: root/include/_attrs.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-16 02:03:12 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-16 02:03:12 +0200
commit43b04a1bfaecfabe8b3460575db7be5d592f896b (patch)
tree86c337e90f4b4238ab73dd698f470cf3482a0de8 /include/_attrs.h
parentbbbeab43e067a7f009b74df72ed9b083f3ecef58 (diff)
implement arena allocators
Diffstat (limited to 'include/_attrs.h')
-rw-r--r--include/_attrs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/_attrs.h b/include/_attrs.h
new file mode 100644
index 0000000..513a5c7
--- /dev/null
+++ b/include/_attrs.h
@@ -0,0 +1,7 @@
+#ifndef MLIB__ATTRS_H
+#define MLIB__ATTRS_H
+
+#define _mlib_pure __nodiscard__, __unsequenced__
+#define _mlib_inline gnu::__always_inline__, clang::__always_inline__
+
+#endif /* !MLIB__ATTRS_H */