Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-03-14 18:54:46 +0300
committerJulian Eisel <julian@blender.org>2022-03-14 19:08:46 +0300
commita5578351c38e2b2bb45d940a2fc57354e5fe3a5e (patch)
tree3d6b5d275f27f6b549772586c2e3af59ea728a1d /source/blender/python
parentcc98b40f870c39a997cf99412b308b8a0e82ed44 (diff)
Auto-generate RNA-structs declarations in `RNA_prototypes.h`
So far it was needed to declare a new RNA struct to `RNA_access.h` manually. Since 9b298cf3dbec we generate a `RNA_prototypes.h` for RNA property declarations. Now this also includes the RNA struct declarations, so they don't have to be added manually anymore. Differential Revision: https://developer.blender.org/D13862 Reviewed by: brecht, campbellbarton
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/intern/bpy.c1
-rw-r--r--source/blender/python/intern/bpy_driver.c1
-rw-r--r--source/blender/python/intern/bpy_operator.c1
-rw-r--r--source/blender/python/intern/bpy_operator_wrap.c1
-rw-r--r--source/blender/python/intern/bpy_props.c1
-rw-r--r--source/blender/python/intern/bpy_rna.c1
-rw-r--r--source/blender/python/intern/bpy_rna_anim.c1
-rw-r--r--source/blender/python/intern/bpy_rna_callback.c1
-rw-r--r--source/blender/python/intern/bpy_rna_data.c1
-rw-r--r--source/blender/python/intern/bpy_rna_gizmo.c1
-rw-r--r--source/blender/python/intern/bpy_rna_types_capi.c1
-rw-r--r--source/blender/python/intern/bpy_utils_previews.c1
12 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c
index 3cef1b2e9be..78f9e6eba5e 100644
--- a/source/blender/python/intern/bpy.c
+++ b/source/blender/python/intern/bpy.c
@@ -23,6 +23,7 @@
#include "BKE_global.h" /* XXX, G_MAIN only */
#include "RNA_access.h"
+#include "RNA_prototypes.h"
#include "RNA_types.h"
#include "GPU_state.h"
diff --git a/source/blender/python/intern/bpy_driver.c b/source/blender/python/intern/bpy_driver.c
index 68018d22753..b7818e484e9 100644
--- a/source/blender/python/intern/bpy_driver.c
+++ b/source/blender/python/intern/bpy_driver.c
@@ -24,6 +24,7 @@
#include "BKE_global.h"
#include "RNA_access.h"
+#include "RNA_prototypes.h"
#include "RNA_types.h"
#include "bpy_rna_driver.h" /* for pyrna_driver_get_variable_value */
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c
index 159ac23bf95..db0067fc18e 100644
--- a/source/blender/python/intern/bpy_operator.c
+++ b/source/blender/python/intern/bpy_operator.c
@@ -29,6 +29,7 @@
#include "RNA_access.h"
#include "RNA_enum_types.h"
+#include "RNA_prototypes.h"
#include "WM_api.h"
#include "WM_types.h"
diff --git a/source/blender/python/intern/bpy_operator_wrap.c b/source/blender/python/intern/bpy_operator_wrap.c
index 03be71a7ef8..c39945c1363 100644
--- a/source/blender/python/intern/bpy_operator_wrap.c
+++ b/source/blender/python/intern/bpy_operator_wrap.c
@@ -18,6 +18,7 @@
#include "RNA_access.h"
#include "RNA_define.h"
+#include "RNA_prototypes.h"
#include "bpy_intern_string.h"
#include "bpy_operator_wrap.h" /* own include */
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c
index ab25add3890..85a477599cd 100644
--- a/source/blender/python/intern/bpy_props.c
+++ b/source/blender/python/intern/bpy_props.c
@@ -27,6 +27,7 @@
#include "RNA_access.h"
#include "RNA_define.h" /* for defining our own rna */
#include "RNA_enum_types.h"
+#include "RNA_prototypes.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 16e90a55844..bb212bfcccc 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -41,6 +41,7 @@
#include "RNA_access.h"
#include "RNA_define.h" /* RNA_def_property_free_identifier */
#include "RNA_enum_types.h"
+#include "RNA_prototypes.h"
#include "CLG_log.h"
diff --git a/source/blender/python/intern/bpy_rna_anim.c b/source/blender/python/intern/bpy_rna_anim.c
index f1538a5063f..fb744432d4b 100644
--- a/source/blender/python/intern/bpy_rna_anim.c
+++ b/source/blender/python/intern/bpy_rna_anim.c
@@ -32,6 +32,7 @@
#include "RNA_access.h"
#include "RNA_enum_types.h"
+#include "RNA_prototypes.h"
#include "WM_api.h"
#include "WM_types.h"
diff --git a/source/blender/python/intern/bpy_rna_callback.c b/source/blender/python/intern/bpy_rna_callback.c
index 1e1fa13f39e..4409e3ae828 100644
--- a/source/blender/python/intern/bpy_rna_callback.c
+++ b/source/blender/python/intern/bpy_rna_callback.c
@@ -16,6 +16,7 @@
#include "RNA_access.h"
#include "RNA_enum_types.h"
+#include "RNA_prototypes.h"
#include "BKE_screen.h"
diff --git a/source/blender/python/intern/bpy_rna_data.c b/source/blender/python/intern/bpy_rna_data.c
index 18aa9d13020..3f82f176a5d 100644
--- a/source/blender/python/intern/bpy_rna_data.c
+++ b/source/blender/python/intern/bpy_rna_data.c
@@ -21,6 +21,7 @@
#include "BKE_main.h"
#include "RNA_access.h"
+#include "RNA_prototypes.h"
#include "bpy_rna.h"
#include "bpy_rna_data.h"
diff --git a/source/blender/python/intern/bpy_rna_gizmo.c b/source/blender/python/intern/bpy_rna_gizmo.c
index 7119685cbe8..f193be40931 100644
--- a/source/blender/python/intern/bpy_rna_gizmo.c
+++ b/source/blender/python/intern/bpy_rna_gizmo.c
@@ -25,6 +25,7 @@
#include "RNA_access.h"
#include "RNA_enum_types.h"
+#include "RNA_prototypes.h"
#include "RNA_types.h"
#include "bpy_rna.h"
diff --git a/source/blender/python/intern/bpy_rna_types_capi.c b/source/blender/python/intern/bpy_rna_types_capi.c
index 5ede3612b47..34c1a8b5a36 100644
--- a/source/blender/python/intern/bpy_rna_types_capi.c
+++ b/source/blender/python/intern/bpy_rna_types_capi.c
@@ -32,6 +32,7 @@
#include "../generic/py_capi_utils.h"
#include "RNA_access.h"
+#include "RNA_prototypes.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/python/intern/bpy_utils_previews.c b/source/blender/python/intern/bpy_utils_previews.c
index 6c7e835fed8..aa79ac56347 100644
--- a/source/blender/python/intern/bpy_utils_previews.c
+++ b/source/blender/python/intern/bpy_utils_previews.c
@@ -15,6 +15,7 @@
#include "BLI_utildefines.h"
#include "RNA_access.h"
+#include "RNA_prototypes.h"
#include "RNA_types.h"
#include "BPY_extern.h"