Changeset 839 for branches/prototype-v0/zoo-project/zoo-kernel/service.h
- Timestamp:
- Aug 7, 2017, 2:56:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/zoo-project/zoo-kernel/service.h
r822 r839 139 139 * The memory size to create an elements 140 140 */ 141 #define ELEMENTS_SIZE (sizeof(char*)+(((2*sizeof(char*))+sizeof(maps*))* 2)+sizeof(char*)+(((2*sizeof(char*))+sizeof(iotype*))*2)+(2*sizeof(elements*)))141 #define ELEMENTS_SIZE (sizeof(char*)+(((2*sizeof(char*))+sizeof(maps*))*3)+sizeof(char*)+(((2*sizeof(char*))+sizeof(iotype*))*2)+(2*sizeof(elements*))) 142 142 /** 143 143 * The memory size to create a map … … 159 159 */ 160 160 //#define SERVICE_SIZE (ELEMENTS_SIZE*2)+(MAP_SIZE*2)+sizeof(char*) 161 #define SERVICE_SIZE sizeof(char*) + 2*sizeof(map*) + 2*sizeof(elements*)161 #define SERVICE_SIZE sizeof(char*) + 3*sizeof(map*) + 2*sizeof(elements*) 162 162 /** 163 163 * The memory size to create a services … … 228 228 struct map* content; //!< the content map 229 229 struct map* metadata; //!< the metadata map 230 struct map* additional_parameters; //!< the additional parameters map 230 231 char* format; //!< the format: LiteralData or ComplexData or BoundingBoxData 231 232 struct iotype* defaults; //!< the default iotype … … 242 243 struct map* content; //!< the content map 243 244 struct map* metadata; //!< the metadata map 245 struct map* additional_parameters; //!< the additional parameters map 244 246 struct elements* inputs; //!< the inputs elements 245 247 struct elements* outputs; //!< the outputs elements … … 278 280 ZOO_DLL_EXPORT void freeMap(map**); 279 281 ZOO_DLL_EXPORT void freeMaps(maps** mo); 280 281 282 ZOO_DLL_EXPORT iotype* createIoType(); 282 283 ZOO_DLL_EXPORT elements* createEmptyElements(); 283 284 ZOO_DLL_EXPORT elements* createElements(const char*);
Note: See TracChangeset
for help on using the changeset viewer.