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:
parent
2d3a62fe16
commit
f22331ad21
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue