mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
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.
This commit is contained in:
parent
3606138794
commit
4cfa3d02c0
@ -23,6 +23,10 @@
|
||||
#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.
|
||||
|
Loading…
Reference in New Issue
Block a user