summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-28 16:34:21 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-28 16:34:21 -0400
commit707b3cefe5df770944ce6956c2ceaa194b96f111 (patch)
tree35e15cb48f137b3a89c6a47836437d607417925c /include/pso
parent154ec0b9854de31debf53904eb26cca4a5388d00 (diff)
macros: Add `WEAK_FUNC`
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pso/macros.h b/include/pso/macros.h
index afe5400..4e7ad0c 100644
--- a/include/pso/macros.h
+++ b/include/pso/macros.h
@@ -58,6 +58,7 @@
#define FOREACH_NODE_NODECL_MULTI_ITER(type, first, varname, ...) for (varname = (type *)(first); varname != NULL; varname = (type *)(varname->next()), __VA_ARGS__)
#define __packed__
+#define WEAK_FUNC __declspec(weak)
#define PRIVATE_MEMBER_GETTER(type, name) \
type name() { \