diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-03-23 14:41:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-03-23 14:43:03 +0300 |
commit | f22331ad217b55f8814c0c15a2dee4425407f9a8 (patch) | |
tree | 91016642dcd08e8c0e00adf881c6da8e74570644 /source/blender/freestyle | |
parent | 2d3a62fe1658f12ddcc2482b11188861310e9386 (diff) |
Cleanup: Move include statements outside of extern "C"
The linking type is to be specified in thew header when
it is really needed.
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Freestyle.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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" |