Changes in src/libcfa/fstream [8bc4ef8:90c3b1c]
- File:
-
- 1 edited
-
src/libcfa/fstream (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/fstream
r8bc4ef8 r90c3b1c 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Apr 28 08:08:04 201613 // Update Count : 8812 // Last Modified On : Wed Mar 2 15:08:14 2016 13 // Update Count : 78 14 14 // 15 15 … … 20 20 21 21 enum { 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 22 struct ofstream { void *file; int separate; char separator[separateSize]; }; 28 23 29 24 _Bool sepPrt( ofstream * ); 30 25 void sepOn( ofstream * ); 31 26 void sepOff( ofstream * ); 32 void sepReset( ofstream * );33 void sepReset( ofstream *, _Bool );34 27 void sepSet( ofstream *, const char * ); 35 28 const char * sepGet( ofstream * ); 36 _BoolsepDisable( ofstream * );37 _BoolsepEnable( ofstream * );29 void sepDisable( ofstream * ); 30 void sepEnable( ofstream * ); 38 31 int fail( ofstream * ); 39 32 int flush( ofstream * ); … … 46 39 47 40 // implement context istream 48 struct ifstream { 49 void *file; 50 }; // ifstream 41 struct ifstream { void *file; }; 51 42 52 43 int fail( ifstream * is );
Note:
See TracChangeset
for help on using the changeset viewer.