Changeset 2f7a97d in tol
- Timestamp:
- Aug 21, 2015, 4:39:38 PM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 4ccf4d7c
- Parents:
- fc134ac
- Location:
- tol/OIS
- Files:
-
- 2 edited
-
tol_oiscreator.h (modified) (1 diff)
-
tol_oisloader.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/OIS/tol_oiscreator.h
rfc134ac r2f7a97d 68 68 bool Write(const unsigned BINT64& x, BStream* stream); 69 69 // REVIEW: for compatibility size_t will be written/read as 4 bytes 70 bool Write(const size_t& x, BStream* stream) 70 #if defined(_LP64) || defined(_WIN64) 71 bool Write(const size_t& x, BStream* stream) 71 72 { 72 73 unsigned int _x = (unsigned int)x; 73 74 return this->Write( _x, stream ); 74 75 } 76 #endif 75 77 bool Write(const float& x, BStream* stream); 76 78 bool Write(const double& x, BStream* stream); -
tol/OIS/tol_oisloader.h
rfc134ac r2f7a97d 103 103 bool Read(unsigned BINT64& x, BStream* stream); 104 104 // REVIEW: for compatibility size_t will be written/read as 4 bytes 105 #if defined(_LP64) || defined(_WIN64) 105 106 bool Read(size_t & x, BStream* stream) 106 107 { … … 113 114 return ok; 114 115 } 115 bool Read( float& x, BStream* stream); 116 #endif 117 bool Read( float& x, BStream* stream); 116 118 bool Read( double& x, BStream* stream); 117 119 bool Read(BText& v, BStream* stream);
Note: See TracChangeset
for help on using the changeset viewer.
