diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-22 07:39:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-22 07:39:13 +0400 |
commit | 19f79f73a8b241127bec2b177b8f7d289071120a (patch) | |
tree | b556d075b92cc8c654437a226504cb512f42f8c3 /source/blender/blenlib/BLI_blenlib.h | |
parent | be61044eee235c979b7e291f95330a6017074143 (diff) |
BLI_utildefine minor edits
- removed AVG2, was only used once.
- remove unused LONGCOPY define.
- removed BLI_STRUCT_OFFSET, was only used once, replce with offsetof
- formatting edits, split some macros over multiple lines.
Diffstat (limited to 'source/blender/blenlib/BLI_blenlib.h')
-rw-r--r-- | source/blender/blenlib/BLI_blenlib.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/blenlib/BLI_blenlib.h b/source/blender/blenlib/BLI_blenlib.h index 4eb4b71da12..a5c0e03c09e 100644 --- a/source/blender/blenlib/BLI_blenlib.h +++ b/source/blender/blenlib/BLI_blenlib.h @@ -84,13 +84,6 @@ extern "C" { #include "BLI_noise.h" -/** - * @param strct The structure of interest - * @param member The name of a member field of @a strct - * @retval The offset in bytes of @a member within @a strct - */ -#define BLI_STRUCT_OFFSET(strct, member) ((int)(intptr_t) &((strct*) 0)->member) - #ifdef __cplusplus } #endif |