Changeset 1153 for cpp/common/util-file.h
- Timestamp:
- 10/01/21 22:38:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/util-file.h
r1124 r1153 7 7 8 8 #include "nonstd_stl.h" 9 #ifdef USE_VIRTFILE 9 10 #include "virtfile/virtfile.h" 11 #else 12 #include <stdio.h> 13 #endif 10 14 11 15 bool readCompleteFile(const char* filename, vector<char>& data, bool warn_on_missing_file = true); … … 13 17 bool writeCompleteFile(const char* filename, const std::string& text, bool warn_on_fail = true); 14 18 bool writeCompleteFile(const char* filename, vector<char>& data, bool warn_on_fail = true); 19 #ifdef USE_VIRTFILE 15 20 string readUntilEOL(VirtFILE *f); 21 #else 22 string readUntilEOL(FILE *f); 23 #endif 16 24 17 25 #endif
Note: See TracChangeset
for help on using the changeset viewer.