Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Szepe <HG1_public@gmx.net>2015-02-28 01:05:06 +0300
committerThomas Szepe <HG1_public@gmx.net>2015-02-28 01:10:43 +0300
commit38c30c41d7a2d4befa8a533911781364a3936ab4 (patch)
treeaa1f8838fae54b6ef02cc623a9aea13a76d8da4c /source/gameengine/Expressions/PyObjectPlus.h
parentfff8a519b85da12fd9582bc1e83d5e63faeaedea (diff)
BGE: Fix ShowDeprecationWarning macro.
Reviewers: lordloki, brita_, sybren, moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D1144
Diffstat (limited to 'source/gameengine/Expressions/PyObjectPlus.h')
-rw-r--r--source/gameengine/Expressions/PyObjectPlus.h12
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)); \
} \
} \
} \