Changes between Version 26 and Version 27 of C++ API
- Timestamp:
- 07/27/16 16:47:12 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C++ API
v26 v27 41 41 ||{{{MUSCLE_INT32}}}||{{{int *}}}||{{{int[]}}}||268e6 values|| 42 42 ||{{{MUSCLE_INT64}}}||{{{long *}}}||{{{long[]}}}||134e6 values|| 43 ||{{{MUSCLE_STRING}}}||{{{c har *}}}||{{{String}}}||64e3 characters||43 ||{{{MUSCLE_STRING}}}||{{{const char *}}}||{{{String}}}||64e3 characters|| 44 44 ||{{{MUSCLE_RAW}}}||{{{unsigned char *}}}||{{{byte[]}}}||268e6 values|| 45 45 ||{{{MUSCLE_COMPLEX}}}||{{{muscle::ComplexData *}}}||any other object||1 GiB|| 46 46 47 The type {{{MUSCLE_COMPLEX}}} is only available for C++ code. 47 The type {{{MUSCLE_COMPLEX}}} is only available for C++ code. {{{MUSCLE_STRING}}} will send data up to the first nul-terminator or given length, whichever is first. 48 48 49 49 Receiving a message can be done in two ways: either the memory is initialized beforehand and the number of elements in the array is given as the third argument, or a 0-pointer is passed, in which case MUSCLE will allocate the memory. In both cases, the memory must be freed by the user. For example: