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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-28 08:36:18 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-28 08:36:18 +0400
commitb7bf9bf1b721ba9a1a5414179763c35a7557ccef (patch)
tree11890d5eda93dc2b460792ce69ac8bd820f9a26e /source/blender/python/api2_2x/Types.h
parenta0e54446f3ac1ba6adf87cd01d4d7b63fbbf538b (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/Types.h')
-rw-r--r--source/blender/python/api2_2x/Types.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Types.h b/source/blender/python/api2_2x/Types.h
new file mode 100644
index 00000000000..fe8d256008f
--- /dev/null
+++ b/source/blender/python/api2_2x/Types.h
@@ -0,0 +1,50 @@
+/*
+ *
+ * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version. The Blender
+ * Foundation also sells licenses for use in proprietary software under
+ * the Blender License. See http://www.blender.org/BL/ for information
+ * about this.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
+ * All rights reserved.
+ *
+ * This is a new part of Blender.
+ *
+ * Contributor(s): Willian P. Germano
+ *
+ * ***** END GPL/BL DUAL LICENSE BLOCK *****
+*/
+
+#ifndef EXPP_TYPES_H
+#define EXPP_TYPES_H
+
+#include "Python.h"
+
+extern PyTypeObject Button_Type, Material_Type;
+
+extern PyTypeObject Object_Type;
+extern PyTypeObject NMesh_Type, NMFace_Type, NMVert_Type, NMCol_Type;
+extern PyTypeObject Camera_Type, Lamp_Type, Image_Type, Text_Type;
+
+extern PyTypeObject vector_Type, buffer_Type, rgbTuple_Type,
+ constant_Type;
+
+static char M_Types_doc[] =
+"The Blender Types module\n\n\
+This module is a dictionary of all Blender Python types";
+
+#endif /* EXPP_TYPES_H */