Ignore:
Timestamp:
Aug 4, 2021, 4:54:14 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d2cdd4f
Parents:
d83b266 (diff), 199894e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.hfa

    rd83b266 r0a061c0  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 20 21:18:03 2021
    13 // Update Count     : 232
     12// Last Modified On : Wed Jul 28 07:35:50 2021
     13// Update Count     : 234
    1414//
    1515
     
    160160void ?{}( Open_Failure & this, ifstream & );
    161161
     162exception Close_Failure {
     163        union {
     164                ofstream * ostream;
     165                ifstream * istream;
     166        };
     167        // TEMPORARY: need polymorphic exceptions
     168        int tag;                                                                                        // 1 => ostream; 0 => istream
     169};
     170
     171void ?{}( Close_Failure & this, ofstream & );
     172void ?{}( Close_Failure & this, ifstream & );
     173
     174exception Write_Failure {
     175        union {
     176                ofstream * ostream;
     177                ifstream * istream;
     178        };
     179        // TEMPORARY: need polymorphic exceptions
     180        int tag;                                                                                        // 1 => ostream; 0 => istream
     181};
     182
     183void ?{}( Write_Failure & this, ofstream & );
     184void ?{}( Write_Failure & this, ifstream & );
     185
     186exception Read_Failure {
     187        union {
     188                ofstream * ostream;
     189                ifstream * istream;
     190        };
     191        // TEMPORARY: need polymorphic exceptions
     192        int tag;                                                                                        // 1 => ostream; 0 => istream
     193};
     194
     195void ?{}( Read_Failure & this, ofstream & );
     196void ?{}( Read_Failure & this, ifstream & );
     197
    162198// Local Variables: //
    163199// mode: c //
Note: See TracChangeset for help on using the changeset viewer.