mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 03:16:22 +00:00
Plugins: Added callbacks init and close functions
Included destroy function in PluginWindowCallback
This commit is contained in:
@@ -167,7 +167,7 @@ c_api_win_create(char *tag, void(*callback)(char *tag, char *line))
|
||||
{
|
||||
WindowWrapper *wrapper = malloc(sizeof(WindowWrapper));
|
||||
wrapper->func = callback;
|
||||
api_win_create(tag, wrapper, c_window_callback);
|
||||
api_win_create(tag, wrapper, free, c_window_callback);
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user