Changes in src/libcfa/fstream [53a6c2a:d395012]
- File:
-
- 1 edited
-
src/libcfa/fstream (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/fstream
r53a6c2a rd395012 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 7 08:32:38201713 // Update Count : 11 712 // Last Modified On : Sat Jul 1 16:37:53 2017 13 // Update Count : 112 14 14 // 15 15 16 #pragma once 16 #ifndef __FSTREAM_H__ 17 #define __FSTREAM_H__ 17 18 18 19 #include "iostream" 19 20 20 enum { sep Size = 16 };21 enum { separateSize = 16 }; 21 22 struct ofstream { 22 23 void * file; 23 24 _Bool sepDefault; 24 25 _Bool sepOnOff; 25 _Bool sawNL;26 _Bool lastSepOn; 26 27 const char * sepCur; 27 char separator[sep Size];28 char tupleSeparator[sep Size];28 char separator[separateSize]; 29 char tupleSeparator[separateSize]; 29 30 }; // ofstream 30 31 … … 35 36 const char * sepGetCur( ofstream * ); 36 37 void sepSetCur( ofstream *, const char * ); 37 _Bool getNL( ofstream * ); 38 void setNL( ofstream *, _Bool ); 38 _Bool lastSepOn( ofstream * ); 39 39 40 40 // public … … 75 75 extern ifstream * sin; 76 76 77 #endif // __FSTREAM_H__ 78 77 79 // Local Variables: // 78 80 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.