Changeset 3543e99


Ignore:
Timestamp:
Aug 14, 2023, 7:08:03 PM (10 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
2f34fde
Parents:
8d96dee
Message:

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

Location:
libcfa/src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/Makefile.am

    r8d96dee r3543e99  
    1111## Created On       : Sun May 31 08:54:01 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Thu May 25 15:20:04 2023
    14 ## Update Count     : 259
     13## Last Modified On : Mon Aug 14 17:10:51 2023
     14## Update Count     : 262
    1515###############################################################################
    1616
     
    4040if BUILDLIB
    4141inst_headers_nosrc = \
     42        Exception.hfa \
    4243        bitmanip.hfa \
    4344        clock.hfa \
  • libcfa/src/common.hfa

    r8d96dee r3543e99  
    1010// Created On       : Wed Jul 11 17:54:36 2018
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Aug  7 10:16:35 2023
    13 // Update Count     : 34
     12// Last Modified On : Mon Aug 14 17:01:47 2023
     13// Update Count     : 38
    1414//
    1515
    1616#pragma once
    17 
    18 // TEMPORARY
    19 #define Exception( name, fields... ) exception name{ fields }; static vtable( name ) name ## _vt
    20 #define ExceptionDecl( name, fields... ) exception name{ fields }
    21 #define ExceptionDefn( name, fields... ) static vtable( name ) name ## _vt
    22 #define ExceptionValue( name, values... ) (name){ &name ## _vt, values }
    23 #define Throw( name, values... ) throw (name){ values }
    2417
    2518//---------------------------------------
Note: See TracChangeset for help on using the changeset viewer.