From 707b3cefe5df770944ce6956c2ceaa194b96f111 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 28 Feb 2023 16:34:21 -0400 Subject: macros: Add `WEAK_FUNC` --- include/pso/macros.h | 1 + 1 file changed, 1 insertion(+) 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() { \ -- cgit v1.2.3-13-gbd6f