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/vulkan.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/pugl/vulkan.h') diff --git a/include/pugl/vulkan.h b/include/pugl/vulkan.h index 8941510..f12ad97 100644 --- a/include/pugl/vulkan.h +++ b/include/pugl/vulkan.h @@ -143,8 +143,7 @@ puglCreateSurface(PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr, Pass the returned value to puglSetBackend() to draw to a view with Vulkan. */ -PUGL_API -PUGL_CONST_FUNC +PUGL_CONST_API const PuglBackend* puglVulkanBackend(void); -- cgit v1.2.1