Blender  V3.3
BPy_StrokeShader.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 "../system/FreestyleConfig.h"
14 
15 #include "../stroke/StrokeShader.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
22 
23 extern PyTypeObject StrokeShader_Type;
24 
25 #define BPy_StrokeShader_Check(v) \
26  (PyObject_IsInstance((PyObject *)v, (PyObject *)&StrokeShader_Type))
27 
28 /*---------------------------Python BPy_StrokeShader structure definition----------*/
29 typedef struct {
30  PyObject_HEAD
33 
34 /*---------------------------Python BPy_StrokeShader visible prototypes-----------*/
35 
36 int StrokeShader_Init(PyObject *module);
37 
39 
40 #ifdef __cplusplus
41 }
42 #endif
PyTypeObject StrokeShader_Type
int StrokeShader_Init(PyObject *module)
static struct PyModuleDef module
Definition: python.cpp:972
PyObject_HEAD Freestyle::StrokeShader * ss