Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/application/Controller.cpp')
-rw-r--r--source/blender/freestyle/intern/application/Controller.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp
index 5b010d5ebc2..aaa8542d63b 100644
--- a/source/blender/freestyle/intern/application/Controller.cpp
+++ b/source/blender/freestyle/intern/application/Controller.cpp
@@ -63,19 +63,11 @@
#include "BKE_global.h"
-// XXX Not inside an "extern C" block???
#include "DNA_freestyle_types.h"
-// XXX Are those "ifdef __cplusplus" useful here?
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "FRS_freestyle.h"
-#ifdef __cplusplus
-}
-#endif
+namespace Freestyle {
Controller::Controller()
{
@@ -1043,3 +1035,5 @@ void Controller::init_options()
setPassDiffuse(NULL, 0, 0);
setPassZ(NULL, 0, 0);
}
+
+} /* namespace Freestyle */