Changeset d0cfcbe1 for libcfa/src/fstream.cfa
- Timestamp:
- Aug 18, 2023, 12:12:22 PM (11 months ago)
- Branches:
- master
- Children:
- 5ad2c6c7
- Parents:
- 18ebc28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
r18ebc28 rd0cfcbe1 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 14 18:24:21202313 // Update Count : 5 3412 // Last Modified On : Fri Aug 18 10:41:17 2023 13 // Update Count : 541 14 14 // 15 15 … … 45 45 46 46 inline bool getNL$( ofstream & os ) { return os.sawNL$; } 47 inline void setNL$( ofstream & os, bool state ) { os.sawNL$ = state; }47 inline bool setNL$( ofstream & os, bool state ) { bool temp = os.sawNL$; os.sawNL$ = state; return temp; } 48 48 inline bool getANL$( ofstream & os ) { return os.nlOnOff$; } 49 inline bool setANL$( ofstream & os, bool state ) { bool temp = os.nlOnOff$; os.nlOnOff$ = state; return temp; } 49 50 50 51 inline bool sepPrt$( ofstream & os ) { setNL$( os, false ); return os.sepOnOff$; } … … 55 56 56 57 inline bool getPrt$( ofstream & os ) { return os.prt$; } 57 inline void setPrt$( ofstream & os, bool state ) { os.prt$ = state; }58 inline bool setPrt$( ofstream & os, bool state ) { bool temp = os.prt$; os.prt$ = state; return temp; } 58 59 59 60 inline void lock( ofstream & os ) with( os ) { lock( os.lock$ ); } … … 212 213 213 214 bool getANL$( ifstream & os ) { return os.nlOnOff$; } 215 bool setANL$( ifstream & os, bool state ) { bool temp = os.nlOnOff$; os.nlOnOff$ = state; return temp; } 214 216 215 217 inline void lock( ifstream & os ) with( os ) { lock( os.lock$ ); }
Note: See TracChangeset
for help on using the changeset viewer.