Pre-allocation should work for call-outs IO (not just O) parameters.
Final Release Note
Description
Let users specify a pre-allcoation size for IO parameters in the external call-out table.
See draft release note below for details of intended functionality. The new feature will be more intuitive for C developers who will otherwise be confused by buffer overruns.
Draft Release Note
- A pre-allocation size may now be specified for input-output string parameters in the external call-out table, e.g.
IO:ydb_char_t**[100]
. Pre-allocation for string types was previously available for output (O) parameters but may now also be specified for input-output (IO). Previously, the external function could only populate IO parameter strings up to the size of the input string. Now with pre-allocation, a maximum size may optionally be specified in the external call table to allocate more return space than the input string size.
Edited by Berwyn Hoyt