RNA: move most rna files to C++
Also see #103343. Pull Request: https://projects.blender.org/blender/blender/pulls/109585
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* This file is so Python can define widget-group's that C can call into.
|
||||
* The generic callback functions for Python widget-group are defines in
|
||||
* 'rna_wm.c', some calling into functions here to do python specific
|
||||
* 'rna_wm.cc', some calling into functions here to do python specific
|
||||
* functionality.
|
||||
*
|
||||
* \note This follows 'bpy_operator_wrap.c' very closely.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* This file exposes functionality for defining to define operators that C can call into.
|
||||
* The generic callback functions for python operators are defines in
|
||||
* 'rna_wm.c', some calling into functions here to do python specific
|
||||
* 'rna_wm.cc', some calling into functions here to do python specific
|
||||
* functionality.
|
||||
*/
|
||||
|
||||
|
||||
@@ -339,7 +339,7 @@ static PyObject *bpy_gizmo_target_set_handler(PyObject *UNUSED(self), PyObject *
|
||||
|
||||
/* NOTE: this is a counter-part to functions:
|
||||
* 'Gizmo.target_set_prop & target_set_operator'
|
||||
* (see: rna_wm_gizmo_api.c). conventions should match. */
|
||||
* (see: rna_wm_gizmo_api.cc). conventions should match. */
|
||||
static const char *const _keywords[] = {"self", "target", "get", "set", "range", NULL};
|
||||
static _PyArg_Parser _parser = {
|
||||
"O&" /* `self` */
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* This file extends RNA types from `bpy.types` with C/Python API methods and attributes.
|
||||
*
|
||||
* We should avoid adding code here, and prefer:
|
||||
* - `source/blender/makesrna/intern/rna_context.c` using the RNA C API.
|
||||
* - `source/blender/makesrna/intern/rna_context.cc` using the RNA C API.
|
||||
* - `scripts/modules/bpy_types.py` when additions c an be written in Python.
|
||||
*
|
||||
* Otherwise functions can be added here as a last resort.
|
||||
|
||||
Reference in New Issue
Block a user