diff options
author | Robert Adam <dev@robert-adam.de> | 2021-05-23 20:09:29 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-05-26 13:33:17 +0300 |
commit | e9aa3c728abd591e4d37b90ffe401c32eea4f3ce (patch) | |
tree | 206bdb7a21d5066406f688dc007f6cbb24c4e5d5 /plugins | |
parent | 8c99fe8119ce00fbcba55c69bde0a48383e7fa79 (diff) |
REFAC(plugin): Rename plugin ID parameter
Instead of passing the type name directly we pass the alias instead in
order to make code more easily portable between API versions.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MumblePlugin_v_1_0_x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MumblePlugin_v_1_0_x.h b/plugins/MumblePlugin_v_1_0_x.h index 8f816b1a1..afb2eee3f 100644 --- a/plugins/MumblePlugin_v_1_0_x.h +++ b/plugins/MumblePlugin_v_1_0_x.h @@ -39,7 +39,7 @@ extern "C" { /// @param id The ID for this plugin. This is the ID Mumble will reference this plugin with /// and by which this plugin can identify itself when communicating with Mumble. /// @returns The status of the initialization. If everything went fine, return STATUS_OK -PLUGIN_EXPORT mumble_error_t PLUGIN_CALLING_CONVENTION mumble_init(uint32_t id); +PLUGIN_EXPORT mumble_error_t PLUGIN_CALLING_CONVENTION mumble_init(mumble_plugin_id_t id); /// Gets called when unloading the plugin in order to allow it to clean up after itself. /// Note that it is still safe to call API functions from within this callback. |