From 7cc206ddca5fd240f87210d6dfb311c81ca4ac65 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 29 Feb 2012 15:00:37 +0000 Subject: 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 --- source/gameengine/Expressions/PyObjectPlus.h | 9 --------- source/gameengine/GameLogic/Joystick/SCA_Joystick.h | 3 --- source/gameengine/Ketsji/KX_PyConstraintBinding.h | 1 - 3 files changed, 13 deletions(-) (limited to 'source/gameengine') 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 PyObject* initPythonConstraintBinding(); -void PHY_RemovePythonConstraintBinding(); void PHY_SetActiveEnvironment(class PHY_IPhysicsEnvironment* env); PHY_IPhysicsEnvironment* PHY_GetActiveEnvironment(); #endif // WITH_PYTHON -- cgit v1.2.3