Skip to content

Add a void * user cookie to SoOutputReallocCB #498

Open
@marco-langer

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.

Metadata

Assignees

No one assigned

    Labels

    acknowledgedCoin3d team acknowledges this issueenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions