Files
test/source/blender/freestyle/intern/python/BPy_Iterator.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
816 B
C
Raw Normal View History

/* SPDX-FileCopyrightText: 2023 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
2013-02-23 18:32:28 +00:00
/** \file
* \ingroup freestyle
2013-02-23 18:32:28 +00:00
*/
2013-02-23 18:50:33 +00:00
#pragma once
extern "C" {
#include <Python.h>
}
#include "../system/Iterator.h"
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject Iterator_Type;
2013-02-23 18:50:33 +00:00
#define BPy_Iterator_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Iterator_Type))
/*---------------------------Python BPy_Iterator structure definition----------*/
typedef struct {
PyObject_HEAD
Freestyle::Iterator *it;
} BPy_Iterator;
/*---------------------------Python BPy_Iterator visible prototypes-----------*/
2013-02-23 18:50:33 +00:00
int Iterator_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////