2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-02-23 18:32:28 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup freestyle
|
2013-02-23 18:32:28 +00:00
|
|
|
*/
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#pragma once
|
2008-07-26 02:33:21 +00:00
|
|
|
|
2008-08-01 02:15:25 +00:00
|
|
|
#include "../BPy_FrsCurve.h"
|
2014-04-17 12:25:41 +09:00
|
|
|
|
2008-07-26 02:33:21 +00:00
|
|
|
#include "../../../stroke/Chain.h"
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject Chain_Type;
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#define BPy_Chain_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&Chain_Type))
|
2008-07-26 02:33:21 +00:00
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_Chain structure definition----------*/
|
|
|
|
|
typedef struct {
|
2008-08-01 02:15:25 +00:00
|
|
|
BPy_FrsCurve py_c;
|
2021-02-08 17:28:15 +02:00
|
|
|
Freestyle::Chain *c;
|
2008-07-26 02:33:21 +00:00
|
|
|
} BPy_Chain;
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|