Changeset a5a6a1a8


Ignore:
Timestamp:
Jul 22, 2021, 10:05:06 PM (8 weeks ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
jacob/cs343-translation, master, new-ast-unique-expr
Children:
866cad3
Parents:
12782a9
Message:

replace fstream macro EHM_VIRTUAL_TABLE with new vtable declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.cfa

    r12782a9 ra5a6a1a8  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr 28 20:37:53 2021
    13 // Update Count     : 445
     12// Last Modified On : Thu Jul 22 11:34:41 2021
     13// Update Count     : 448
    1414//
    1515
     
    338338
    339339
    340 EHM_VIRTUAL_TABLE(Open_Failure, Open_Failure_main_table);
     340//EHM_VIRTUAL_TABLE(Open_Failure, Open_Failure_main_table);
     341static vtable(Open_Failure) Open_Failure_main_table;
     342
     343// exception I/O constructors
    341344void ?{}( Open_Failure & this, ofstream & ostream ) {
    342345        this.virtual_table = &Open_Failure_main_table;
    343346        this.ostream = &ostream;
    344347        this.tag = 1;
    345 }
     348} // ?{}
     349
    346350void ?{}( Open_Failure & this, ifstream & istream ) {
    347351        this.virtual_table = &Open_Failure_main_table;
    348352        this.istream = &istream;
    349353        this.tag = 0;
    350 }
     354} // ?{}
     355
    351356void throwOpen_Failure( ofstream & ostream ) {
    352357        Open_Failure exc = { ostream };
    353358}
     359
    354360void throwOpen_Failure( ifstream & istream ) {
    355361        Open_Failure exc = { istream };
Note: See TracChangeset for help on using the changeset viewer.