2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
* Copyright 2012 Blender Foundation. All rights reserved. */
|
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
|
|
|
|
|
|
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);
|