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:
authorCampbell Barton <ideasman42@gmail.com>2012-02-29 19:00:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-29 19:00:37 +0400
commit7cc206ddca5fd240f87210d6dfb311c81ca4ac65 (patch)
treea4dfc6d6dd1a21c9016390d339855a19d16ee335 /source/gameengine
parent0cec655b290b1151087b86c37cc1f51b7d58f261 (diff)
Code Cleanup: remove non existing function declarations.
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Expressions/PyObjectPlus.h9
-rw-r--r--source/gameengine/GameLogic/Joystick/SCA_Joystick.h3
-rw-r--r--source/gameengine/Ketsji/KX_PyConstraintBinding.h1
3 files changed, 0 insertions, 13 deletions
diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h
index 27c948ecaa9..263d08ead0c 100644
--- a/source/gameengine/Expressions/PyObjectPlus.h
+++ b/source/gameengine/Expressions/PyObjectPlus.h
@@ -56,13 +56,6 @@ extern "C" {
#define MAX_PROP_NAME 64
-static inline void Py_Fatal(const char *M)
-{
- fprintf(stderr, "%s\n", M);
- exit(-1);
-};
-
-
/* Use with ShowDeprecationWarning macro */
typedef struct {
bool warn_done;
@@ -647,8 +640,6 @@ public:
};
#ifdef WITH_PYTHON
-PyObject *py_getattr_dict(PyObject *pydict, PyObject *tp_dict);
-
PyObject *PyUnicode_From_STR_String(const STR_String& str);
#endif
diff --git a/source/gameengine/GameLogic/Joystick/SCA_Joystick.h b/source/gameengine/GameLogic/Joystick/SCA_Joystick.h
index 75a7ff73b4c..f2ee3fc0f9f 100644
--- a/source/gameengine/GameLogic/Joystick/SCA_Joystick.h
+++ b/source/gameengine/GameLogic/Joystick/SCA_Joystick.h
@@ -193,9 +193,6 @@ public:
*/
int Connected(void);
};
-#ifdef WITH_SDL
-void Joystick_HandleEvents( void );
-#endif
#endif
diff --git a/source/gameengine/Ketsji/KX_PyConstraintBinding.h b/source/gameengine/Ketsji/KX_PyConstraintBinding.h
index 2c98e6347da..69a6e333cee 100644
--- a/source/gameengine/Ketsji/KX_PyConstraintBinding.h
+++ b/source/gameengine/Ketsji/KX_PyConstraintBinding.h
@@ -37,7 +37,6 @@
#include <Python.h>
PyObject* initPythonConstraintBinding();
-void PHY_RemovePythonConstraintBinding();
void PHY_SetActiveEnvironment(class PHY_IPhysicsEnvironment* env);
PHY_IPhysicsEnvironment* PHY_GetActiveEnvironment();
#endif // WITH_PYTHON