Refactor: Makesrna: move generated code further in C++.

This commit moves generated `RNA_blender.h`, `RNA_prototype.h` and
`RNA_blender_cpp.h` headers to become C++ header files.

It also removes the now useless `RNA_EXTERN_C` defines, and just
directly use the `extern` keyword. We do not need anymore `extern "C"`
declarations here.

Pull Request: https://projects.blender.org/blender/blender/pulls/124469
This commit is contained in:
Bastien Montagne
2024-07-10 18:30:02 +02:00
committed by Gitea
parent cf96136ec6
commit c607ead4b7
355 changed files with 453 additions and 475 deletions

View File

@@ -37,7 +37,7 @@
#include "DNA_scene_types.h"
#include "FRS_freestyle.h"
#include "RNA_access.hh"
#include "RNA_prototypes.h"
#include "RNA_prototypes.hh"
#include "bpy_rna.h" /* pyrna_struct_CreatePyObject() */
#include "../generic/py_capi_utils.h" /* #PyC_UnicodeFromBytes */