Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/fstream

    r8bc4ef8 r90c3b1c  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Apr 28 08:08:04 2016
    13 // Update Count     : 88
     12// Last Modified On : Wed Mar  2 15:08:14 2016
     13// Update Count     : 78
    1414//
    1515
     
    2020
    2121enum { separateSize = 16 };
    22 struct ofstream {
    23         void *file;
    24         _Bool sepDefault;
    25         int sepOnOff;                                                                           // FIX ME: type should be _Bool
    26         char separator[separateSize];
    27 }; // ofstream
     22struct ofstream { void *file; int separate; char separator[separateSize]; };
    2823
    2924_Bool sepPrt( ofstream * );
    3025void sepOn( ofstream * );
    3126void sepOff( ofstream * );
    32 void sepReset( ofstream * );
    33 void sepReset( ofstream *, _Bool );
    3427void sepSet( ofstream *, const char * );
    3528const char * sepGet( ofstream * );
    36 _Bool sepDisable( ofstream * );
    37 _Bool sepEnable( ofstream * );
     29void sepDisable( ofstream * );
     30void sepEnable( ofstream * );
    3831int fail( ofstream * );
    3932int flush( ofstream * );
     
    4639
    4740// implement context istream
    48 struct ifstream {
    49         void *file;
    50 }; // ifstream
     41struct ifstream { void *file; };
    5142
    5243int fail( ifstream * is );
Note: See TracChangeset for help on using the changeset viewer.