Cleanup: Move include statements outside of extern "C"

The linking type is to be specified in thew header when
it is really needed.
This commit is contained in:
Sergey Sharybin 2022-03-23 12:41:09 +01:00
parent 2d3a62fe16
commit f22331ad21
1 changed files with 7 additions and 7 deletions

View File

@ -31,6 +31,13 @@
#include "BPy_ViewMap.h"
#include "BPy_ViewShape.h"
#include "BKE_appdir.h"
#include "DNA_scene_types.h"
#include "FRS_freestyle.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "bpy_rna.h" /* pyrna_struct_CreatePyObject() */
#ifdef __cplusplus
extern "C" {
#endif
@ -39,13 +46,6 @@ extern "C" {
//------------------------ MODULE FUNCTIONS ----------------------------------
#include "BKE_appdir.h"
#include "DNA_scene_types.h"
#include "FRS_freestyle.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "bpy_rna.h" /* pyrna_struct_CreatePyObject() */
static char Freestyle_getCurrentScene___doc__[] =
".. function:: getCurrentScene()\n"
"\n"