Last change
on this file since b1c220a was 3483185, checked in by kyoung <lseo@…>, 7 months ago |
Make it possible to fulfil a future by loading an exception like ucpp
|
-
Property mode
set to
100644
|
File size:
337 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 ) }
|
---|
8 | #define ExceptionPtr( E ) (exception_t *) & E
|
---|
Note:
See
TracBrowser
for help on using the repository browser.