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 9b298cf3db 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
This commit is contained in:
Julian Eisel
2022-03-14 16:54:46 +01:00
parent cc98b40f87
commit a5578351c3
238 changed files with 341 additions and 724 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -16,6 +16,7 @@
#include "RNA_access.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "BKE_screen.h"

View File

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

View File

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

View File

@@ -32,6 +32,7 @@
#include "../generic/py_capi_utils.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "MEM_guardedalloc.h"

View File

@@ -15,6 +15,7 @@
#include "BLI_utildefines.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "RNA_types.h"
#include "BPY_extern.h"