aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/stub.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/stub.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/stub.h')
-rw-r--r--include/pugl/stub.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/pugl/stub.h b/include/pugl/stub.h
index 46e0e96..d1a699a 100644
--- a/include/pugl/stub.h
+++ b/include/pugl/stub.h
@@ -34,8 +34,7 @@ PUGL_BEGIN_DECLS
This backend just creates a simple native window without setting up any
portable graphics API.
*/
-PUGL_API
-PUGL_CONST_FUNC
+PUGL_CONST_API
const PuglBackend*
puglStubBackend(void);