diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2024-02-12 00:47:41 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2024-02-12 00:47:41 -0700 |
commit | d065af8c16bcb8ef54024c0f2082d827f83f37f9 (patch) | |
tree | 2f9bf7bab530858d48d42a305d7c030bebd79002 /harness/include/plugin.h | |
parent | bfcdd442de82eb0e554b0e6b21aedad6615f4367 (diff) | |
download | wetterhorn-d065af8c16bcb8ef54024c0f2082d827f83f37f9.tar.gz wetterhorn-d065af8c16bcb8ef54024c0f2082d827f83f37f9.tar.bz2 wetterhorn-d065af8c16bcb8ef54024c0f2082d827f83f37f9.zip |
add clang-format
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. */ |