summaryrefslogtreecommitdiff
path: root/include/pso/macros.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-05 12:32:38 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-05 12:32:38 -0400
commit306a76cb444102bc207ee16e8a65aa9e90bbd37a (patch)
treed6e64d7496837bddb89c5ef34be5eca536de4103 /include/pso/macros.h
parentcb40b0808a639fa0de330cb2b88574a0e8b4d2d5 (diff)
global: Start work on making the codebase match without inlining
It seems more, and more obvious that the codebase was originally compiled without inlining.
Diffstat (limited to 'include/pso/macros.h')
-rw-r--r--include/pso/macros.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/pso/macros.h b/include/pso/macros.h
index 5901143..291a550 100644
--- a/include/pso/macros.h
+++ b/include/pso/macros.h
@@ -51,11 +51,11 @@
o(tl_fade, TL_FADE) \
o(tl_fadeafter, TL_FADEAFTER)
-#define FOREACH_NODE(type, first, varname) for (type *varname = (type *)(first); varname != NULL; varname = (type *)(varname->next()))
-#define FOREACH_NODE_NODECL(type, first, varname) for (varname = (type *)(first); varname != NULL; varname = (type *)(varname->next()))
+#define FOREACH_NODE(type, first, varname) for (type *varname = (type *)(first); varname != NULL; varname = (type *)(varname->m_next))
+#define FOREACH_NODE_NODECL(type, first, varname) for (varname = (type *)(first); varname != NULL; varname = (type *)(varname->m_next))
-#define FOREACH_NODE_MULTI_ITER(type, first, varname, ...) for (type *varname = (type *)(first); varname != NULL; varname = (type *)(varname->next()), __VA_ARGS__)
-#define FOREACH_NODE_NODECL_MULTI_ITER(type, first, varname, ...) for (varname = (type *)(first); varname != NULL; varname = (type *)(varname->next()), __VA_ARGS__)
+#define FOREACH_NODE_MULTI_ITER(type, first, varname, ...) for (type *varname = (type *)(first); varname != NULL; varname = (type *)(varname->m_next), __VA_ARGS__)
+#define FOREACH_NODE_NODECL_MULTI_ITER(type, first, varname, ...) for (varname = (type *)(first); varname != NULL; varname = (type *)(varname->m_next), __VA_ARGS__)
#define __packed__
#define WEAK_FUNC __declspec(weak)