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

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

36 lines
909 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 "../view_map/Interface0D.h"
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject Interface0D_Type;
2013-02-23 18:50:33 +00:00
#define BPy_Interface0D_Check(v) \
(PyObject_IsInstance((PyObject *)v, (PyObject *)&Interface0D_Type))
/*---------------------------Python BPy_Interface0D structure definition----------*/
typedef struct {
PyObject_HEAD
Freestyle::Interface0D *if0D;
bool borrowed; /* true if *if0D is a borrowed object */
} BPy_Interface0D;
/*---------------------------Python BPy_Interface0D visible prototypes-----------*/
2013-02-23 18:50:33 +00:00
int Interface0D_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////