X-Git-Url: https://eleni.mutantstargoat.com/git/?p=vkrt;a=blobdiff_plain;f=src%2Fvk.h;h=2750d84d90032077c41790d481209554a2a518bc;hp=6d4b05ebe915745be2427658e485472ae0a6acc3;hb=8d3a8ecaf4f20ed8c460ab75724c7bf8363e905a;hpb=c19f01fbe275b5e619e3c4112fe6b32af9bb2713 diff --git a/src/vk.h b/src/vk.h index 6d4b05e..2750d84 100644 --- a/src/vk.h +++ b/src/vk.h @@ -120,6 +120,10 @@ struct vk_semaphores VkSemaphore frame_done; }; +#ifdef __cplusplus +extern "C" { +#endif + /* context */ bool vk_init_ctx(struct vk_ctx *ctx, @@ -305,4 +309,9 @@ vk_transition_image_layout(struct vk_attachment *img_att, uint32_t src_queue_family_index, uint32_t dst_queue_family_index); + +#ifdef __cplusplus +} +#endif + #endif /* VK_H */