projects
/
libside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: accept variable list of arguments from SIDE_PTR_INIT
[libside.git]
/
include
/
side
/
macros.h
diff --git
a/include/side/macros.h
b/include/side/macros.h
index 5a368bfd6b01637c7045b31abe1cb55f6dc0931f..20fa97e804f07d76aae19d2afe1fe765620e6812 100644
(file)
--- a/
include/side/macros.h
+++ b/
include/side/macros.h
@@
-121,6
+121,6
@@
} while (0)
#endif
-#define SIDE_PTR_INIT(
x) { .v = (uintptr_t) (x
) }
+#define SIDE_PTR_INIT(
...) { .v = (uintptr_t) (__VA_ARGS__
) }
#endif /* _SIDE_MACROS_H */
This page took
0.022669 seconds
and
4
git commands to generate.