diff options
Diffstat (limited to 'harness/include/plugin.h')
-rw-r--r-- | harness/include/plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/harness/include/plugin.h b/harness/include/plugin.h index 7cee511..615c3db 100644 --- a/harness/include/plugin.h +++ b/harness/include/plugin.h @@ -91,9 +91,9 @@ typedef struct PLUGIN { /* * Handles a surface being mapped, unmapped or destroyed. */ - EXPORT(opqst_t (*plugin_handle_surface_map)(void* surface, opqst_t)); - EXPORT(opqst_t (*plugin_handle_surface_unmap)(void* surface, opqst_t)); - EXPORT(opqst_t (*plugin_handle_surface_destroy)(void* surface, opqst_t)); + EXPORT(opqst_t (*plugin_handle_surface_map)(void *surface, opqst_t)); + EXPORT(opqst_t (*plugin_handle_surface_unmap)(void *surface, opqst_t)); + EXPORT(opqst_t (*plugin_handle_surface_destroy)(void *surface, opqst_t)); } plugin_t; @@ -107,7 +107,7 @@ int load_plugin_from_dl(dlhandle_t library, plugin_t *out); * This function will call dlclose on the plugin's library handle if it is not * the same as 'library'. */ -int plugin_hot_reload(int argc, char **argv, const char* filepath, +int plugin_hot_reload(int argc, char **argv, const char *filepath, plugin_t *plugin); /* Reads a plugin from a filename. */ |