aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pugl/cairo.h (renamed from include/pugl/pugl_cairo.h)8
-rw-r--r--include/pugl/gl.h (renamed from include/pugl/pugl_gl.h)8
-rw-r--r--include/pugl/pugl.h4
-rw-r--r--include/pugl/stub.h (renamed from include/pugl/pugl_stub.h)8
-rw-r--r--include/pugl/vulkan.h (renamed from include/pugl/pugl_vulkan.h)8
5 files changed, 18 insertions, 18 deletions
diff --git a/include/pugl/pugl_cairo.h b/include/pugl/cairo.h
index 6e5a035..2022c21 100644
--- a/include/pugl/pugl_cairo.h
+++ b/include/pugl/cairo.h
@@ -15,12 +15,12 @@
*/
/**
- @file pugl_cairo.h
+ @file cairo.h
@brief Declaration of Cairo backend accessor.
*/
-#ifndef PUGL_PUGL_CAIRO_H
-#define PUGL_PUGL_CAIRO_H
+#ifndef PUGL_CAIRO_H
+#define PUGL_CAIRO_H
#include "pugl/pugl.h"
@@ -47,4 +47,4 @@ puglCairoBackend(void);
PUGL_END_DECLS
-#endif // PUGL_PUGL_CAIRO_H
+#endif // PUGL_CAIRO_H
diff --git a/include/pugl/pugl_gl.h b/include/pugl/gl.h
index 78b994b..dca9a45 100644
--- a/include/pugl/pugl_gl.h
+++ b/include/pugl/gl.h
@@ -15,12 +15,12 @@
*/
/**
- @file pugl_gl.h
+ @file gl.h
@brief OpenGL-specific API.
*/
-#ifndef PUGL_PUGL_GL_H
-#define PUGL_PUGL_GL_H
+#ifndef PUGL_GL_H
+#define PUGL_GL_H
#include "pugl/pugl.h"
@@ -87,4 +87,4 @@ PUGL_END_DECLS
@}
*/
-#endif // PUGL_PUGL_GL_H
+#endif // PUGL_GL_H
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 19f9fa4..814b39b 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -899,8 +899,8 @@ puglGetHandle(PuglView* view);
Pugl includes the following backends:
- - puglGlBackend(), declared in pugl_gl.h
- - puglCairoBackend(), declared in pugl_cairo.h
+ - puglGlBackend(), declared in pugl/gl.h
+ - puglCairoBackend(), declared in pugl/cairo.h
Note that backends are modular and not compiled into the main Pugl library
to avoid unnecessary dependencies. To use a particular backend,
diff --git a/include/pugl/pugl_stub.h b/include/pugl/stub.h
index 569415c..fd62ff0 100644
--- a/include/pugl/pugl_stub.h
+++ b/include/pugl/stub.h
@@ -15,12 +15,12 @@
*/
/**
- @file pugl_stub.h
+ @file stub.h
@brief Stub backend functions and accessor declaration.
*/
-#ifndef PUGL_PUGL_STUB_H
-#define PUGL_PUGL_STUB_H
+#ifndef PUGL_STUB_H
+#define PUGL_STUB_H
#include "pugl/pugl.h"
@@ -49,4 +49,4 @@ puglStubBackend(void);
PUGL_END_DECLS
-#endif // PUGL_PUGL_STUB_H
+#endif // PUGL_STUB_H
diff --git a/include/pugl/pugl_vulkan.h b/include/pugl/vulkan.h
index 451c28f..a2755f9 100644
--- a/include/pugl/pugl_vulkan.h
+++ b/include/pugl/vulkan.h
@@ -15,15 +15,15 @@
*/
/**
- @file pugl_vulkan.h Vulkan-specific API.
+ @file vulkan.h Vulkan-specific 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_H
-#define PUGL_PUGL_VULKAN_H
+#ifndef PUGL_VULKAN_H
+#define PUGL_VULKAN_H
#include "pugl/pugl.h"
@@ -145,4 +145,4 @@ puglVulkanBackend(void);
PUGL_END_DECLS
-#endif // PUGL_PUGL_VULKAN_H
+#endif // PUGL_VULKAN_H