|
From: | Paul Eggert |
Subject: | Re: Module support: No environment in pointer release function |
Date: | Sun, 5 Feb 2017 21:33:41 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |