blob: 5deeab570bc830c8177df97421c7e007ed37cb1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup freestyle
*/
#pragma once
extern "C" {
#include <Python.h>
}
#include "../stroke/Stroke.h"
#ifdef __cplusplus
extern "C" {
#endif
///////////////////////////////////////////////////////////////////////////////////////////
extern PyTypeObject StrokeAttribute_Type;
#define BPy_StrokeAttribute_Check(v) \
(PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeAttribute_Type))
/*---------------------------Python BPy_StrokeAttribute structure definition----------*/
typedef struct {
PyObject_HEAD
Freestyle::StrokeAttribute *sa;
bool borrowed; /* true if *sa is a borrowed reference */
} BPy_StrokeAttribute;
/*---------------------------Python BPy_StrokeAttribute visible prototypes-----------*/
int StrokeAttribute_Init(PyObject *module);
void StrokeAttribute_mathutils_register_callback();
///////////////////////////////////////////////////////////////////////////////////////////
#ifdef __cplusplus
}
#endif
|