Changeset 25525
- Timestamp:
- 09/03/20 11:15:32 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/io/Marshalling/Marshalling.h
r25522 r25525 52 52 } 53 53 void call(char* & value){ 54 int size = 0; 55 if(value) size = strlen(value)+1; 54 int size = strlen(value)+1; 56 55 this->call(size); 57 56 this->call(value,size); … … 116 115 } 117 116 void call(char* & value){ 118 int size = 0; 119 if(value) size = strlen(value)+1; 117 int size = strlen(value)+1; 120 118 this->call(size); 121 if(size) marshalled_data_size+=size*sizeof(char);119 this->call(value,size); 122 120 }; 123 121 template<typename T> void call(T* & value,int size){
Note:
See TracChangeset
for help on using the changeset viewer.