diff options
author | Thomas Szepe <HG1_public@gmx.net> | 2015-02-28 01:05:06 +0300 |
---|---|---|
committer | Thomas Szepe <HG1_public@gmx.net> | 2015-02-28 01:10:43 +0300 |
commit | 38c30c41d7a2d4befa8a533911781364a3936ab4 (patch) | |
tree | aa1f8838fae54b6ef02cc623a9aea13a76d8da4c | |
parent | fff8a519b85da12fd9582bc1e83d5e63faeaedea (diff) |
BGE: Fix ShowDeprecationWarning macro.
Reviewers: lordloki, brita_, sybren, moguri
Reviewed By: moguri
Differential Revision: https://developer.blender.org/D1144
-rw-r--r-- | source/gameengine/Expressions/PyObjectPlus.h | 12 |
1 files changed, 6 insertions, 6 deletions
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)); \ } \ } \ } \ |