Changeset d3e4d6c for src/libcfa/fstream.c
- Timestamp:
- Aug 23, 2017, 6:22:07 PM (8 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:
- 87e08e24, cb811ac
- Parents:
- 9f07232 (diff), bd37119 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/fstream.c
r9f07232 rd3e4d6c 27 27 #define IO_MSG "I/O error: " 28 28 29 void ?{}( ofstream *this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) {30 this ->file = file;31 this ->sepDefault = sepDefault;32 this ->sepOnOff = sepOnOff;33 sepSet( this, separator );34 sepSetCur( this, sepGet(this ) );35 sepSetTuple( this, tupleSeparator );29 void ?{}( ofstream & this, void * file, _Bool sepDefault, _Bool sepOnOff, const char * separator, const char * tupleSeparator ) { 30 this.file = file; 31 this.sepDefault = sepDefault; 32 this.sepOnOff = sepOnOff; 33 sepSet( &this, separator ); 34 sepSetCur( &this, sepGet( &this ) ); 35 sepSetTuple( &this, tupleSeparator ); 36 36 } 37 37 … … 92 92 exit( EXIT_FAILURE ); 93 93 } // if 94 ?{}( os, file, true, false, " ", ", " );94 ?{}( *os, file, true, false, " ", ", " ); 95 95 } // open 96 96
Note:
See TracChangeset
for help on using the changeset viewer.