aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/gl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-02 21:40:40 +0100
committerDavid Robillard <d@drobilla.net>2021-01-02 21:40:40 +0100
commit416478739315ca41ad236197b25f87b83ab7f312 (patch)
tree93f69a2dad2ed23cd44d8dfc9c4b6f11b2b171b1 /include/pugl/gl.h
parentd9efe12ed4e3abbbcf8b607a21559e17601b89d7 (diff)
downloadpugl-416478739315ca41ad236197b25f87b83ab7f312.tar.gz
pugl-416478739315ca41ad236197b25f87b83ab7f312.tar.bz2
pugl-416478739315ca41ad236197b25f87b83ab7f312.zip
Add PUGL_CONST_API
Just a convenience macro to make declarations a little more readable.
Diffstat (limited to 'include/pugl/gl.h')
-rw-r--r--include/pugl/gl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/pugl/gl.h b/include/pugl/gl.h
index 3443d83..51c4a7d 100644
--- a/include/pugl/gl.h
+++ b/include/pugl/gl.h
@@ -94,8 +94,7 @@ puglLeaveContext(PuglView* view);
Pass the returned value to puglSetBackend() to draw to a view with OpenGL.
*/
-PUGL_API
-PUGL_CONST_FUNC
+PUGL_CONST_API
const PuglBackend*
puglGlBackend(void);