Ignore:
Timestamp:
Aug 25, 2017, 10:38:34 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
800d275
Parents:
af08051 (diff), 3eab308c (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
  • src/libcfa/fstream.c

    raf08051 r28e58fd  
    2727#define IO_MSG "I/O error: "
    2828
    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 );
     29void ?{}( 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 );
    3636}
    3737
     
    9292                exit( EXIT_FAILURE );
    9393        } // if
    94         ?{}( os, file, true, false, " ", ", " );
     94        ?{}( *os, file, true, false, " ", ", " );
    9595} // open
    9696
Note: See TracChangeset for help on using the changeset viewer.