From 2d1022b73967e1a88c0c7e2a9dbf50d81bcbc6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 25 Jul 2019 18:09:42 +0200 Subject: [PATCH] python: rename a header for further additions. --- src/python/magnum/{PyMesh.h => PyGL.h} | 4 ++++ src/python/magnum/gl.cpp | 2 +- src/python/magnum/meshtools.cpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) rename src/python/magnum/{PyMesh.h => PyGL.h} (96%) 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 {