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>2019-01-02 16:55:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-02 16:55:07 +0300
commitd07bc44a96ce6838cd25edca61127021fbebe4d1 (patch)
tree71967026f78efc0accc49a4639efebe802a90960 /source/blender/python/gpu/gpu_py_api.h
parent945007b32e9a30252216398413bff88c103d8667 (diff)
Revert file rename from T59773 fix
Mixing file rename with other changes should be avoided. Using 'module_py_api' convention here is in keeping with imbuf, idprop, blf & bmesh. No reason for gpu to have a different convention.
Diffstat (limited to 'source/blender/python/gpu/gpu_py_api.h')
-rw-r--r--source/blender/python/gpu/gpu_py_api.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/source/blender/python/gpu/gpu_py_api.h b/source/blender/python/gpu/gpu_py_api.h
new file mode 100644
index 00000000000..2b4d8fa515c
--- /dev/null
+++ b/source/blender/python/gpu/gpu_py_api.h
@@ -0,0 +1,34 @@
+/*
+ * ***** BEGIN GPL 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.
+ *
+ * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+/** \file blender/python/gpu/gpu_py_api.h
+ * \ingroup bpygpu
+ */
+
+#ifndef __GPU_PY_API_H__
+#define __GPU_PY_API_H__
+
+bool bpygpu_is_initialized(void);
+
+int bpygpu_ParsePrimType(PyObject *o, void *p);
+
+PyObject *BPyInit_gpu(void);
+
+#endif /* __GPU_PY_API_H__ */