From 416478739315ca41ad236197b25f87b83ab7f312 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Jan 2021 21:40:40 +0100 Subject: Add PUGL_CONST_API Just a convenience macro to make declarations a little more readable. --- include/pugl/gl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/pugl/gl.h') 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); -- cgit v1.2.1