aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-29 16:32:32 +0100
committerDavid Robillard <d@drobilla.net>2020-10-30 10:58:30 +0100
commitd7703c822c7b2373615a972f02667287635c667b (patch)
treebbfd978a093bed67ec36f64daebe1043d22caa79 /bindings/cxx
parent09fd11906d65a909bc84c7950f428ea3092dc405 (diff)
downloadpugl-d7703c822c7b2373615a972f02667287635c667b.tar.gz
pugl-d7703c822c7b2373615a972f02667287635c667b.tar.bz2
pugl-d7703c822c7b2373615a972f02667287635c667b.zip
Simplify header names
Diffstat (limited to 'bindings/cxx')
-rw-r--r--bindings/cxx/include/pugl/cairo.hpp (renamed from bindings/cxx/include/pugl/pugl_cairo.hpp)10
-rw-r--r--bindings/cxx/include/pugl/gl.hpp (renamed from bindings/cxx/include/pugl/pugl_gl.hpp)10
-rw-r--r--bindings/cxx/include/pugl/stub.hpp (renamed from bindings/cxx/include/pugl/pugl_stub.hpp)10
-rw-r--r--bindings/cxx/include/pugl/vulkan.hpp (renamed from bindings/cxx/include/pugl/pugl_vulkan.hpp)10
4 files changed, 20 insertions, 20 deletions
diff --git a/bindings/cxx/include/pugl/pugl_cairo.hpp b/bindings/cxx/include/pugl/cairo.hpp
index 213c977..4df2702 100644
--- a/bindings/cxx/include/pugl/pugl_cairo.hpp
+++ b/bindings/cxx/include/pugl/cairo.hpp
@@ -15,15 +15,15 @@
*/
/**
- @file pugl_cairo.hpp
+ @file cairo.hpp
@brief Declaration of Cairo backend accessor for C++.
*/
-#ifndef PUGL_PUGL_CAIRO_HPP
-#define PUGL_PUGL_CAIRO_HPP
+#ifndef PUGL_CAIRO_HPP
+#define PUGL_CAIRO_HPP
+#include "pugl/cairo.h"
#include "pugl/pugl.h"
-#include "pugl/pugl_cairo.h"
namespace pugl {
@@ -47,4 +47,4 @@ cairoBackend() noexcept
} // namespace pugl
-#endif // PUGL_PUGL_CAIRO_HPP
+#endif // PUGL_CAIRO_HPP
diff --git a/bindings/cxx/include/pugl/pugl_gl.hpp b/bindings/cxx/include/pugl/gl.hpp
index b7c581e..2777cbf 100644
--- a/bindings/cxx/include/pugl/pugl_gl.hpp
+++ b/bindings/cxx/include/pugl/gl.hpp
@@ -15,15 +15,15 @@
*/
/**
- @file pugl_gl.hpp
+ @file gl.hpp
@brief OpenGL-specific C++ API.
*/
-#ifndef PUGL_PUGL_GL_HPP
-#define PUGL_PUGL_GL_HPP
+#ifndef PUGL_GL_HPP
+#define PUGL_GL_HPP
+#include "pugl/gl.h"
#include "pugl/pugl.h"
-#include "pugl/pugl_gl.h"
namespace pugl {
@@ -57,4 +57,4 @@ glBackend() noexcept
} // namespace pugl
-#endif // PUGL_PUGL_GL_HPP
+#endif // PUGL_GL_HPP
diff --git a/bindings/cxx/include/pugl/pugl_stub.hpp b/bindings/cxx/include/pugl/stub.hpp
index 362682b..74e8ef2 100644
--- a/bindings/cxx/include/pugl/pugl_stub.hpp
+++ b/bindings/cxx/include/pugl/stub.hpp
@@ -15,15 +15,15 @@
*/
/**
- @file pugl_stub.hpp
+ @file stub.hpp
@brief Declaration of Stub backend accessor for C++.
*/
-#ifndef PUGL_PUGL_STUB_HPP
-#define PUGL_PUGL_STUB_HPP
+#ifndef PUGL_STUB_HPP
+#define PUGL_STUB_HPP
#include "pugl/pugl.h"
-#include "pugl/pugl_stub.h"
+#include "pugl/stub.h"
namespace pugl {
@@ -47,4 +47,4 @@ stubBackend() noexcept
} // namespace pugl
-#endif // PUGL_PUGL_STUB_HPP
+#endif // PUGL_STUB_HPP
diff --git a/bindings/cxx/include/pugl/pugl_vulkan.hpp b/bindings/cxx/include/pugl/vulkan.hpp
index 9241aba..a7b16cb 100644
--- a/bindings/cxx/include/pugl/pugl_vulkan.hpp
+++ b/bindings/cxx/include/pugl/vulkan.hpp
@@ -15,19 +15,19 @@
*/
/**
- @file pugl_vulkan.hpp Vulkan-specific C++ API.
+ @file vulkan.hpp Vulkan-specific C++ API.
Note that this header includes Vulkan headers, so if you are writing a
program or plugin that dynamically loads vulkan, you should first define
`VK_NO_PROTOTYPES` before including it.
*/
-#ifndef PUGL_PUGL_VULKAN_HPP
-#define PUGL_PUGL_VULKAN_HPP
+#ifndef PUGL_VULKAN_HPP
+#define PUGL_VULKAN_HPP
#include "pugl/pugl.h"
#include "pugl/pugl.hpp"
-#include "pugl/pugl_vulkan.h"
+#include "pugl/vulkan.h"
#include <vulkan/vulkan_core.h>
@@ -167,4 +167,4 @@ vulkanBackend() noexcept
} // namespace pugl
-#endif // PUGL_PUGL_VULKAN_HPP
+#endif // PUGL_VULKAN_HPP