This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/python/intern/bpy_operator_wrap.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
835 B
C++
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0-or-later */
2011-02-27 20:10:08 +00:00
/** \file
* \ingroup pythonintern
2011-02-27 20:10:08 +00:00
*/
#pragma once
2011-02-15 03:20:12 +00:00
struct wmOperatorType;
#ifdef __cplusplus
extern "C" {
#endif
2022-11-02 10:14:37 +11:00
/** These are used for operator methods, used by `bpy_operator.c`. */
PyObject *PYOP_wrap_macro_define(PyObject *self, PyObject *args);
2011-02-15 03:20:12 +00:00
2022-11-02 10:14:37 +11:00
/* Exposed to RNA/WM API. */
/**
* Generic function used by all Python defined operators
* it's passed as an argument to #WM_operatortype_append_ptr in for operator registration.
*/
void BPY_RNA_operator_wrapper(struct wmOperatorType *ot, void *userdata);
/**
* Generic function used by all Python defined macro-operators
* it's passed as an argument to #WM_operatortype_append_ptr in for operator registration.
*/
void BPY_RNA_operator_macro_wrapper(struct wmOperatorType *ot, void *userdata);
2011-02-15 03:20:12 +00:00
#ifdef __cplusplus
}
#endif