Changeset 96880 in webkit for trunk/Source/JavaScriptCore/wtf/StdLibExtras.h
- Timestamp:
- Oct 6, 2011, 5:20:23 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/wtf/StdLibExtras.h
r95901 r96880 44 44 #endif 45 45 46 // Use this macro to declare and define a debug-only global variable that may have a 47 // non-trivial constructor and destructor. 48 #ifndef NDEBUG 49 #define DEFINE_DEBUG_ONLY_GLOBAL(type, name, arguments) \ 50 static type name arguments; 51 #else 52 #define DEFINE_DEBUG_ONLY_GLOBAL(type, name, arguments) 53 #endif // NDEBUG 54 46 55 // OBJECT_OFFSETOF: Like the C++ offsetof macro, but you can use it with classes. 47 56 // The magic number 0x4000 is insignificant. We use it to avoid using NULL, since
Note:
See TracChangeset
for help on using the changeset viewer.