Changeset a493682 for src/libcfa/fstream.c
- Timestamp:
- Jul 17, 2017, 1:55:22 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- b46e3bd
- Parents:
- bf30ab3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/fstream.c
rbf30ab3 ra493682 29 29 #define IO_MSG "I/O error: " 30 30 31 void ?{}( ofstream *this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) {32 this ->file = file;33 this ->sepDefault = sepDefault;34 this ->sepOnOff = sepOnOff;35 sepSet( this, separator );36 sepSetCur( this, sepGet(this ) );37 sepSetTuple( this, tupleSeparator );31 void ?{}( ofstream & this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) { 32 this.file = file; 33 this.sepDefault = sepDefault; 34 this.sepOnOff = sepOnOff; 35 sepSet( &this, separator ); 36 sepSetCur( &this, sepGet( &this ) ); 37 sepSetTuple( &this, tupleSeparator ); 38 38 } 39 39 … … 94 94 exit( EXIT_FAILURE ); 95 95 } // if 96 ?{}( os, file, true, false, " ", ", " );96 ?{}( *os, file, true, false, " ", ", " ); 97 97 } // open 98 98
Note: See TracChangeset
for help on using the changeset viewer.