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