Files
test2/source/blender/freestyle/intern/python/BPy_ViewShape.h

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

38 lines
924 B
C
Raw Permalink 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/ViewMap.h"
#include "BPy_SShape.h"
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject ViewShape_Type;
2013-02-23 18:50:33 +00:00
#define BPy_ViewShape_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&ViewShape_Type))
/*---------------------------Python BPy_ViewShape structure definition----------*/
typedef struct {
PyObject_HEAD
Freestyle::ViewShape *vs;
bool borrowed; /* true if *vs a borrowed object */
BPy_SShape *py_ss;
} BPy_ViewShape;
/*---------------------------Python BPy_ViewShape visible prototypes-----------*/
2013-02-23 18:50:33 +00:00
int ViewShape_Init(PyObject *module);
///////////////////////////////////////////////////////////////////////////////////////////