From ba71a7a7cd811b63f654afcf69a0c198a761877d Mon Sep 17 00:00:00 2001 From: methylDragon Date: Thu, 14 Jul 2022 18:17:03 -0700 Subject: [PATCH] Finale: Hard-tock DETAIL_IGNITION_PLUGIN_VISIBLE Signed-off-by: methylDragon --- register/include/gz/plugin/detail/Register.hh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/register/include/gz/plugin/detail/Register.hh b/register/include/gz/plugin/detail/Register.hh index a592a0aa..9693a84c 100644 --- a/register/include/gz/plugin/detail/Register.hh +++ b/register/include/gz/plugin/detail/Register.hh @@ -32,21 +32,21 @@ #include -#ifdef DETAIL_IGNITION_PLUGIN_VISIBLE - #undef DETAIL_IGNITION_PLUGIN_VISIBLE +#ifdef DETAIL_GZ_PLUGIN_VISIBLE + #undef DETAIL_GZ_PLUGIN_VISIBLE #endif #if defined _WIN32 || defined __CYGWIN__ #ifdef __GNUC__ - #define DETAIL_IGNITION_PLUGIN_VISIBLE __attribute__ ((dllexport)) + #define DETAIL_GZ_PLUGIN_VISIBLE __attribute__ ((dllexport)) #else - #define DETAIL_IGNITION_PLUGIN_VISIBLE __declspec(dllexport) + #define DETAIL_GZ_PLUGIN_VISIBLE __declspec(dllexport) #endif #else #if __GNUC__ >= 4 - #define DETAIL_IGNITION_PLUGIN_VISIBLE __attribute__ ((visibility ("default"))) + #define DETAIL_GZ_PLUGIN_VISIBLE __attribute__ ((visibility ("default"))) #else - #define DETAIL_IGNITION_PLUGIN_VISIBLE + #define DETAIL_GZ_PLUGIN_VISIBLE #endif #endif @@ -59,7 +59,7 @@ extern "C" /// retrieve Info from a shared library that provides plugins. /// /// The symbol is explicitly exported (visibility is turned on) using - /// DETAIL_IGNITION_PLUGIN_VISIBLE to ensure that dlsym(~) is able to find it. + /// DETAIL_GZ_PLUGIN_VISIBLE to ensure that dlsym(~) is able to find it. /// /// DO NOT CALL THIS FUNCTION DIRECTLY OR CREATE YOUR OWN IMPLEMENTATION OF IT /// This function is used by the Registrar and Loader classes. Nothing else @@ -104,7 +104,7 @@ extern "C" /// Similar to _inputAndOutputInfoSize, this is used for sanity checking. It /// inspects and returns the alignof(Info) value instead of the sizeof(Info) /// value. - DETAIL_IGNITION_PLUGIN_VISIBLE void GzPluginHook( + DETAIL_GZ_PLUGIN_VISIBLE void GzPluginHook( const void *_inputSingleInfo, const void ** const _outputAllInfo, int *_inputAndOutputAPIVersion,