aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl.h2
-rw-r--r--pugl/pugl_cairo.h2
-rw-r--r--pugl/pugl_gl.h2
-rw-r--r--pugl/pugl_stub.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 4d363c3..cd931ed 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -587,7 +587,7 @@ typedef enum {
/**
Return a string describing a status code.
*/
-PUGL_API
+PUGL_API PUGL_CONST_FUNC
const char*
puglStrerror(PuglStatus status);
diff --git a/pugl/pugl_cairo.h b/pugl/pugl_cairo.h
index c68f6bb..4b3b621 100644
--- a/pugl/pugl_cairo.h
+++ b/pugl/pugl_cairo.h
@@ -38,7 +38,7 @@ PUGL_BEGIN_DECLS
Pass the return value to puglInitBackend() to draw to a view with Cairo.
*/
-PUGL_API const PuglBackend*
+PUGL_API PUGL_CONST_FUNC const PuglBackend*
puglCairoBackend(void);
/**
diff --git a/pugl/pugl_gl.h b/pugl/pugl_gl.h
index d501b3c..471c5ac 100644
--- a/pugl/pugl_gl.h
+++ b/pugl/pugl_gl.h
@@ -49,7 +49,7 @@ puglGetProcAddress(const char* name);
Pass the return value to puglSetBackend() to draw to a view with OpenGL.
*/
-PUGL_API const PuglBackend*
+PUGL_API PUGL_CONST_FUNC const PuglBackend*
puglGlBackend(void);
PUGL_END_DECLS
diff --git a/pugl/pugl_stub.h b/pugl/pugl_stub.h
index ef48000..f50418e 100644
--- a/pugl/pugl_stub.h
+++ b/pugl/pugl_stub.h
@@ -47,7 +47,7 @@ PUGL_BEGIN_DECLS
This backend just creates a simple native window without setting up any
portable graphics API.
*/
-PUGL_API
+PUGL_API PUGL_CONST_FUNC
const PuglBackend*
puglStubBackend(void);