Elias Mårtenson wrote:
In
addition to the pointer itself, the ‘emacs_env’ pointer is needed. An
arbitrary ‘void *data’ pointer would be useful too.
Can you package up these pointers into a single data structure, and pass a pointer to that structure? That's what's usually done in situations like this, and is why a single 'void *' should suffice.