From f22331ad217b55f8814c0c15a2dee4425407f9a8 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 23 Mar 2022 12:41:09 +0100 Subject: Cleanup: Move include statements outside of extern "C" The linking type is to be specified in thew header when it is really needed. --- source/blender/freestyle/intern/python/BPy_Freestyle.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/freestyle') diff --git a/source/blender/freestyle/intern/python/BPy_Freestyle.cpp b/source/blender/freestyle/intern/python/BPy_Freestyle.cpp index 63585df97a9..96bab8c2028 100644 --- a/source/blender/freestyle/intern/python/BPy_Freestyle.cpp +++ b/source/blender/freestyle/intern/python/BPy_Freestyle.cpp @@ -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" -- cgit v1.2.3