Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.hfa

    r9d362a0 r58b6d1b  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Dec 24 18:33:41 2018
    13 // Update Count     : 149
     12// Last Modified On : Tue Jun  5 10:20:25 2018
     13// Update Count     : 131
    1414//
    1515
     
    2121struct ofstream {
    2222        void * file;
    23         bool sepDefault;
    24         bool sepOnOff;
    25         bool nlOnOff;
    26         bool prt;                                                                                       // print text
    27         bool sawNL;
     23        _Bool sepDefault;
     24        _Bool sepOnOff;
     25        _Bool sawNL;
    2826        const char * sepCur;
    2927        char separator[sepSize];
     
    3230
    3331// private
    34 bool sepPrt( ofstream & );
     32_Bool sepPrt( ofstream & );
    3533void sepReset( ofstream & );
    36 void sepReset( ofstream &, bool );
     34void sepReset( ofstream &, _Bool );
    3735const char * sepGetCur( ofstream & );
    3836void sepSetCur( ofstream &, const char * );
    39 bool getNL( ofstream & );
    40 void setNL( ofstream &, bool );
    41 bool getANL( ofstream & );
    42 bool getPrt( ofstream & );
    43 void setPrt( ofstream &, bool );
     37_Bool getNL( ofstream & );
     38void setNL( ofstream &, _Bool );
    4439
    4540// public
    4641void sepOn( ofstream & );
    4742void sepOff( ofstream & );
    48 bool sepDisable( ofstream & );
    49 bool sepEnable( ofstream & );
    50 void nlOn( ofstream & );
    51 void nlOff( ofstream & );
     43_Bool sepDisable( ofstream & );
     44_Bool sepEnable( ofstream & );
    5245
    5346const char * sepGet( ofstream & );
     
    6255void close( ofstream & );
    6356ofstream & write( ofstream &, const char * data, size_t size );
    64 int fmt( ofstream &, const char format[], ... );
     57int fmt( ofstream &, const char fmt[], ... );
    6558
    6659void ?{}( ofstream & os );
     
    8376ifstream & read( ifstream & is, char * data, size_t size );
    8477ifstream & ungetc( ifstream & is, char c );
    85 int fmt( ifstream &, const char format[], ... );
     78int fmt( ifstream &, const char fmt[], ... );
    8679
    8780void ?{}( ifstream & is );
Note: See TracChangeset for help on using the changeset viewer.