diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-07 08:41:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-07 09:00:13 +0300 |
commit | 409cfba1a3cdec228c7f93aa8c1fbc912a6d6525 (patch) | |
tree | 1e861d68d3903e4cda9841a10b9725cc2feb7a76 /source/blender/python/generic/imbuf_py_api.h | |
parent | 0e68751b8a0bac59a275b1fe3d818b8259d1cc7f (diff) |
Python API: Initial 'imbuf' API
Support only basic operations new/load/write & resize.
Add now so we can extend as needed & more easily accept patches.
Diffstat (limited to 'source/blender/python/generic/imbuf_py_api.h')
-rw-r--r-- | source/blender/python/generic/imbuf_py_api.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source/blender/python/generic/imbuf_py_api.h b/source/blender/python/generic/imbuf_py_api.h new file mode 100644 index 00000000000..92c1732a9c9 --- /dev/null +++ b/source/blender/python/generic/imbuf_py_api.h @@ -0,0 +1,30 @@ +/* + * ***** 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 ***** + */ + +#ifndef __IMBUF_PY_API_H__ +#define __IMBUF_PY_API_H__ + +/** \file blender/python/generic/imbuf_py_api.h + * \ingroup pygen + */ + +PyObject *BPyInit_imbuf(void); + +#endif /* __IMBUF_PY_API_H__ */ |