projects
/
vkrt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extern "C" so that I can also use c++
[vkrt]
/
src
/
vk.h
diff --git
a/src/vk.h
b/src/vk.h
index
6d4b05e
..
2750d84
100644
(file)
--- a/
src/vk.h
+++ b/
src/vk.h
@@
-120,6
+120,10
@@
struct vk_semaphores
VkSemaphore frame_done;
};
VkSemaphore frame_done;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* context */
bool vk_init_ctx(struct vk_ctx *ctx,
/* 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);
uint32_t src_queue_family_index,
uint32_t dst_queue_family_index);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* VK_H */
#endif /* VK_H */