Blender  V3.3
BPy_StrokeAttribute.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 extern "C" {
10 #include <Python.h>
11 }
12 
13 #include "../stroke/Stroke.h"
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
20 
21 extern PyTypeObject StrokeAttribute_Type;
22 
23 #define BPy_StrokeAttribute_Check(v) \
24  (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeAttribute_Type))
25 
26 /*---------------------------Python BPy_StrokeAttribute structure definition----------*/
27 typedef struct {
28  PyObject_HEAD
30  bool borrowed; /* true if *sa is a borrowed reference */
32 
33 /*---------------------------Python BPy_StrokeAttribute visible prototypes-----------*/
34 
35 int StrokeAttribute_Init(PyObject *module);
37 
39 
40 #ifdef __cplusplus
41 }
42 #endif
PyTypeObject StrokeAttribute_Type
void StrokeAttribute_mathutils_register_callback()
int StrokeAttribute_Init(PyObject *module)
static struct PyModuleDef module
Definition: python.cpp:972
PyObject_HEAD Freestyle::StrokeAttribute * sa