Allocates memory for user exits to use.
typedef void *(*PFV_IDPES_FN_ALLOC_MEM)(cobuns32_t mem_size);
mem_size | Number of bytes to allocate |
None
A pointer to the allocated space, or NULL if there is insufficient memory available or an error occurs during the allocation process.
Used by user exits to allocate memory, for example, for the creation of a replacement external data value during exit point 7, External Data Value Modification - Output Parameter. If you allocate memory using this function you should subsequently free it using the fn_free_mem support function of IDP_EXIT_SERVICE_FUNCS.