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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-09-16 23:25:35 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-09-16 23:25:35 +0400
commitc6d0be2a9943818b98db3831e5d56969bd95c5fa (patch)
treeb9a870f848e0b5d7141bb6a47dbad77d746ce0c6 /source/gameengine/GamePlayer/ghost/GPG_Application.h
parent75685a9ca842022519b451bea14b442f69487d9a (diff)
Fix (harmless) error print about GameLogic.globalDict being lost. Also
fixed some memory leaks in this code and simplified it.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_Application.h')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_Application.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.h b/source/gameengine/GamePlayer/ghost/GPG_Application.h
index 7fc369fc0fd..38408f919b4 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_Application.h
+++ b/source/gameengine/GamePlayer/ghost/GPG_Application.h
@@ -74,29 +74,6 @@ public:
bool StartGameEngine(int stereoMode);
void StopGameEngine();
- char*
- GetPyGlobalDictMarshal()
- {
- return m_pyGlobalDictString;
- };
-
- void
- SetPyGlobalDictMarshal( char* pyGlobalDictString, int length )
- {
- if (m_pyGlobalDictString && m_pyGlobalDictString != pyGlobalDictString)
- free(m_pyGlobalDictString);
-
- m_pyGlobalDictString = pyGlobalDictString;
- m_pyGlobalDictString_Length = length;
- };
-
- int
- GetPyGlobalDictMarshalLength()
- {
- return m_pyGlobalDictString_Length;
- };
-
-
protected:
bool handleWheel(GHOST_IEvent* event);
bool handleButton(GHOST_IEvent* event, bool isDown);