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
|
|
|
|
|
|
2025-01-07 12:39:13 +01:00
|
|
|
#include <Python.h>
|
|
|
|
|
|
2024-09-24 16:27:18 +02:00
|
|
|
struct BPy_BMeshOpFunc {
|
2021-06-24 15:56:58 +10:00
|
|
|
PyObject_HEAD /* Required Python macro. */
|
2021-06-24 17:10:22 +10:00
|
|
|
const char *opname;
|
2024-09-24 16:27:18 +02:00
|
|
|
};
|
2012-11-27 13:54:34 +00:00
|
|
|
|
2021-12-02 17:24:04 +11:00
|
|
|
/**
|
|
|
|
|
* This is the `__call__` for `bmesh.ops.xxx()`.
|
|
|
|
|
*/
|
2025-06-28 00:15:23 +00:00
|
|
|
[[nodiscard]] PyObject *BPy_BMO_call(BPy_BMeshOpFunc *self, PyObject *args, PyObject *kw);
|