void func(void **buffer, int *szBuffer) { //allocate memory to buffer *szBuffer = req_size; *buffer = malloc(req_size); //buffer filled }
Python
C
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)