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

Last change on this file since 8c13ca8 was 3543e99, checked in by Peter A. Buhr <pabuhr@…>, 16 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.