projects
/
libside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use structure size and version for event description extensibility
[libside.git]
/
include
/
side
/
macros.h
diff --git
a/include/side/macros.h
b/include/side/macros.h
index 26fc0799975fb9ed410b198bcd8002fcf7e48002..10fcb66ffff07255314ed05a95f53cb2b2ad3cd4 100644
(file)
--- a/
include/side/macros.h
+++ b/
include/side/macros.h
@@
-32,6
+32,9
@@
#define SIDE_PARAM(...) __VA_ARGS__
+#define side_offsetofend(type, member) \
+ (offsetof(type, member) + sizeof(((type *)0)->member))
+
/*
* SIDE_PARAM_SELECT_ARG1
*
This page took
0.022265 seconds
and
4
git commands to generate.