Last change
on this file since 69dd8e6 was
77bc259,
checked in by Peter A. Buhr <pabuhr@…>, 9 months ago
|
move exception macro to general location, update more code to use macros
|
-
Property mode set to
100644
|
File size:
291 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | // TEMPORARY |
---|
4 | #define ExceptionDecl( name, fields... ) exception name{ fields }; \ |
---|
5 | __attribute__(( cfa_linkonce )) vtable( name ) name ## _vt |
---|
6 | #define ExceptionArgs( name, args... ) &name ## _vt, args |
---|
7 | #define ExceptionInst( name, args... ) (name){ ExceptionArgs( name, args ) } |
---|
Note: See
TracBrowser
for help on using the repository browser.