source: libcfa/src/Exception.hfa @ 8fceae2

Last change on this file since 8fceae2 was 3543e99, checked in by Peter A. Buhr <pabuhr@…>, 15 months ago

move exception macros from common.hfa to their own include file Exception.hfa

  • Property mode set to 100644
File size: 225 bytes
Line 
1#pragma once
2
3// TEMPORARY
4#define ExceptionDecl( name, fields... ) exception name{ fields }; __attribute__(( cfa_linkonce )) vtable( name ) name ## _vt
5#define ExceptionInst( name, values... ) (name){ &name ## _vt, values }
Note: See TracBrowser for help on using the repository browser.