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:
Jacques Lucke
2023-07-01 16:38:46 +02:00
parent f33d7bb598
commit 3ece6876af
98 changed files with 11308 additions and 8780 deletions

View File

@@ -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.

View File

@@ -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.
*/

View File

@@ -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` */

View File

@@ -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.