2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2012 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2012-11-27 13:45:28 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup pybmesh
|
2012-11-27 13:45:28 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2023-07-21 19:41:03 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2012-11-27 13:54:34 +00:00
|
|
|
typedef struct {
|
2021-06-24 15:56:58 +10:00
|
|
|
PyObject_HEAD /* Required Python macro. */
|
2021-06-24 17:10:22 +10:00
|
|
|
const char *opname;
|
2012-11-27 13:54:34 +00:00
|
|
|
} BPy_BMeshOpFunc;
|
|
|
|
|
|
2021-12-02 17:24:04 +11:00
|
|
|
/**
|
|
|
|
|
* This is the `__call__` for `bmesh.ops.xxx()`.
|
|
|
|
|
*/
|
2012-11-27 13:54:34 +00:00
|
|
|
PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw);
|
2023-07-21 19:41:03 +02:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|