diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-28 08:36:18 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2003-05-28 08:36:18 +0400 |
commit | b7bf9bf1b721ba9a1a5414179763c35a7557ccef (patch) | |
tree | 11890d5eda93dc2b460792ce69ac8bd820f9a26e /source/blender/python/api2_2x/vector.c | |
parent | a0e54446f3ac1ba6adf87cd01d4d7b63fbbf538b (diff) |
* Added submodule Blender.Material
* Added submodule Blender.Types:
Blender Type definitions can't be static anymore.
* Some cleanup of now unused defines in Camera.h and Lamp.h
Diffstat (limited to 'source/blender/python/api2_2x/vector.c')
-rw-r--r-- | source/blender/python/api2_2x/vector.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/vector.c b/source/blender/python/api2_2x/vector.c index 1e893a33dcd..a29fdbc9d13 100644 --- a/source/blender/python/api2_2x/vector.c +++ b/source/blender/python/api2_2x/vector.c @@ -35,7 +35,7 @@ /*****************************/ /* Vector Python Object */ /*****************************/ -#define VectorObject_Check(v) ((v)->ob_type == &Vector_Type) +#define VectorObject_Check(v) ((v)->ob_type == &vector_Type) static void Vector_dealloc(VectorObject *self) { @@ -191,7 +191,7 @@ static PySequenceMethods Vector_SeqMethods = (intintobjargproc) Vector_ass_slice, /* sq_ass_slice */ }; -PyTypeObject Vector_Type = +PyTypeObject vector_Type = { PyObject_HEAD_INIT(&PyType_Type) 0, /*ob_size*/ @@ -213,7 +213,7 @@ PyObject *newVectorObject(float *vec, int size) { VectorObject *self; - self= PyObject_NEW(VectorObject, &Vector_Type); + self= PyObject_NEW(VectorObject, &vector_Type); self->vec= vec; self->size= size; |