I have a function in an unmanaged library that looks like this:
void fill_arr(int size, struct mystruct **buffer) { /* code that allocates memory for size numbe