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,