Open
Description
Some callbacks in the library, such as SoErrorCB
, already have a void * data
parameter, but other callbacks are missing this parameter currently.
I'd like to propose to add a void * data
parameter to the reallocation callback SoOutputReallocCB
defined in SoOutput.h:
typedef void * SoOutputReallocCB(void * ptr, size_t newSize, void * data);
This parameter could be made NULL by default if API backwards-compatibility is desired.
I could prepare a PR with the necessary changes.