diff --git a/src/python/magnum/PyMesh.h b/src/python/magnum/PyGL.h similarity index 96% rename from src/python/magnum/PyMesh.h rename to src/python/magnum/PyGL.h index f71adad..144c517 100644 --- a/src/python/magnum/PyMesh.h +++ b/src/python/magnum/PyGL.h @@ -1,3 +1,5 @@ +#ifndef magnum_PyGL_h +#define magnum_PyGL_h /* This file is part of Magnum. @@ -40,3 +42,5 @@ struct PyMesh: GL::Mesh { }; } + +#endif diff --git a/src/python/magnum/gl.cpp b/src/python/magnum/gl.cpp index 591e449..1cbfdb7 100644 --- a/src/python/magnum/gl.cpp +++ b/src/python/magnum/gl.cpp @@ -39,7 +39,7 @@ #include "corrade/EnumOperators.h" #include "magnum/bootstrap.h" #include "magnum/NonDestructible.h" -#include "magnum/PyMesh.h" +#include "magnum/PyGL.h" namespace magnum { diff --git a/src/python/magnum/meshtools.cpp b/src/python/magnum/meshtools.cpp index 06e1a88..9fc38de 100644 --- a/src/python/magnum/meshtools.cpp +++ b/src/python/magnum/meshtools.cpp @@ -30,7 +30,7 @@ #include #include "magnum/bootstrap.h" -#include "magnum/PyMesh.h" +#include "magnum/PyGL.h" namespace magnum {