Changes between Version 26 and Version 27 of C++ API

Show
Ignore:
Timestamp:
07/27/16 16:47:12 (9 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • C++ API

    v26 v27  
    4141||{{{MUSCLE_INT32}}}||{{{int *}}}||{{{int[]}}}||268e6 values|| 
    4242||{{{MUSCLE_INT64}}}||{{{long *}}}||{{{long[]}}}||134e6 values|| 
    43 ||{{{MUSCLE_STRING}}}||{{{char *}}}||{{{String}}}||64e3 characters|| 
     43||{{{MUSCLE_STRING}}}||{{{const char *}}}||{{{String}}}||64e3 characters|| 
    4444||{{{MUSCLE_RAW}}}||{{{unsigned char *}}}||{{{byte[]}}}||268e6 values|| 
    4545||{{{MUSCLE_COMPLEX}}}||{{{muscle::ComplexData *}}}||any other object||1 GiB|| 
    4646 
    47 The type {{{MUSCLE_COMPLEX}}} is only available for C++ code. 
     47The 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. 
    4848 
    4949Receiving 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: