Fix name mangling for C
This patch force the header to be compiled as C.
This behavior allows to use this library in a C program.
#ifndef AMD_VULKAN_MEMORY_ALLOCATOR_H
#define AMD_VULKAN_MEMORY_ALLOCATOR_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \mainpage Vulkan Memory Allocator
\tableofcontents
@@ -1235,6 +1239,10 @@ void vmaDestroyImage(
/** @} */
+#ifdef __cplusplus
+}
+#endif
+
#endif // AMD_VULKAN_MEMORY_ALLOCATOR_H
// For Visual Studio IntelliSense.
