diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h index e2e7c248795..34b814d7416 100644 --- a/source/gameengine/Expressions/PyObjectPlus.h +++ b/source/gameengine/Expressions/PyObjectPlus.h @@ -65,21 +65,21 @@ typedef struct { #define ShowDeprecationWarning(old_way, new_way) \ { \ static WarnLink wlink = {false, NULL}; \ - if ((m_ignore_deprecation_warnings || wlink.warn_done)==0) \ + if ((PyObjectPlus::m_ignore_deprecation_warnings || wlink.warn_done)==0) \ { \ - ShowDeprecationWarning_func(old_way, new_way); \ + PyObjectPlus::ShowDeprecationWarning_func(old_way, new_way); \ \ - WarnLink *wlink_last= GetDeprecationWarningLinkLast(); \ + WarnLink *wlink_last= PyObjectPlus::GetDeprecationWarningLinkLast(); \ wlink.warn_done = true; \ wlink.link = NULL; \ \ if(wlink_last) { \ wlink_last->link= (void *)&(wlink); \ - SetDeprecationWarningLinkLast(&(wlink)); \ + PyObjectPlus::SetDeprecationWarningLinkLast(&(wlink)); \ } \ else { \ - SetDeprecationWarningFirst(&(wlink)); \ - SetDeprecationWarningLinkLast(&(wlink)); \ + PyObjectPlus::SetDeprecationWarningFirst(&(wlink)); \ + PyObjectPlus::SetDeprecationWarningLinkLast(&(wlink)); \ } \ } \ } \