Changes in src/libcfa/fstream [53a6c2a:9ebd778]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/fstream
r53a6c2a r9ebd778 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 : 1 1712 // Last Modified On : Mon May 15 18:11:09 2017 13 // Update Count : 104 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 26 const char * sepCur; 27 char separator[sep Size];28 char tupleSeparator[sep Size];27 char separator[separateSize]; 28 char tupleSeparator[separateSize]; 29 29 }; // ofstream 30 30 … … 35 35 const char * sepGetCur( ofstream * ); 36 36 void sepSetCur( ofstream *, const char * ); 37 _Bool getNL( ofstream * );38 void setNL( ofstream *, _Bool );39 37 40 38 // public … … 75 73 extern ifstream * sin; 76 74 75 #endif // __FSTREAM_H__ 76 77 77 // Local Variables: // 78 78 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.