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:
authorJoseph Gilbert <ascotan@gmail.com>2005-11-22 22:12:46 +0300
committerJoseph Gilbert <ascotan@gmail.com>2005-11-22 22:12:46 +0300
commit3489fdcd06f18671521dca1ce0798a8fe31dbab8 (patch)
treed2cfade85dc501a6897296bf233cf6b755a09160 /source/blender/python/api2_2x/gen_utils.h
parent00f266c651a52027b662f725d081af6b51aae343 (diff)
Fix for a python boolean macro that shouldn't be there.
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.h')
-rw-r--r--source/blender/python/api2_2x/gen_utils.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.h b/source/blender/python/api2_2x/gen_utils.h
index 5aa2cf5a878..7b64944a6da 100644
--- a/source/blender/python/api2_2x/gen_utils.h
+++ b/source/blender/python/api2_2x/gen_utils.h
@@ -44,24 +44,6 @@
#define Py_WRAP 1024
#define Py_NEW 2048
-/*
- Py_RETURN_NONE
- Python 2.4 macro.
- defined here until we switch to 2.4
-*/
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE Py_INCREF( Py_None ); return Py_None
-#endif
-
-/* more 2.4 macros..? */
-#ifndef Py_RETURN_TRUE
-#define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True
-#endif
-
-#ifndef Py_RETURN_FALSE
-#define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False
-#endif
-
int EXPP_FloatsAreEqual(float A, float B, int floatSteps);
int EXPP_VectorsAreEqual(float *vecA, float *vecB, int size, int floatSteps);