Changes in src/tests/except-mac.h [e9145a3:efe8172b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/except-mac.h
re9145a3 refe8172b 30 30 size_t size; \ 31 31 void (*copy)(except_name *this, except_name * other); \ 32 void (*free)(except_name *this); \32 void (*free)(except_name &this); \ 33 33 const char * (*msg)(except_name *this); \ 34 34 __VA_ARGS__ \ … … 42 42 // In each constructor the vtable must be initialized. 43 43 #define VTABLE_INIT(this_name,except_name) \ 44 this_name ->virtual_table = &INSTANCE(except_name)44 this_name.virtual_table = &INSTANCE(except_name) 45 45 46 46 // Declare the vtable instance. This should end an exception declaration. … … 73 73 this->virtual_table = other->virtual_table; \ 74 74 } \ 75 void ?{}(name *this) { \75 void ?{}(name & this) { \ 76 76 VTABLE_INIT(this,name); \ 77 77 } \
Note:
See TracChangeset
for help on using the changeset viewer.