]> git.sesse.net Git - movit/blobdiff - init.cpp
Move everything into “namespace movit”.
[movit] / init.cpp
index fd22778f4ccec152cc973f2ebe1f6ffa51d1d935..5717dda8d43ad1a3416a3be618c0866fe3d886e0 100644 (file)
--- a/init.cpp
+++ b/init.cpp
@@ -9,6 +9,8 @@
 
 using namespace std;
 
+namespace movit {
+
 bool movit_initialized = false;
 MovitDebugLevel movit_debug_level = MOVIT_DEBUG_ON;
 float movit_texel_subpixel_precision;
@@ -314,3 +316,5 @@ bool init_movit(const string& data_directory, MovitDebugLevel debug_level)
        movit_initialized = true;
        return true;
 }
+
+}  // namespace movit