mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-22 23:04:35 +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
|
#ifndef AMD_VULKAN_MEMORY_ALLOCATOR_H
|
||||||
#define AMD_VULKAN_MEMORY_ALLOCATOR_H
|
#define AMD_VULKAN_MEMORY_ALLOCATOR_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/** \mainpage Vulkan Memory Allocator
|
/** \mainpage Vulkan Memory Allocator
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
@ -1235,6 +1239,10 @@ void vmaDestroyImage(
|
|||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // AMD_VULKAN_MEMORY_ALLOCATOR_H
|
#endif // AMD_VULKAN_MEMORY_ALLOCATOR_H
|
||||||
|
|
||||||
// For Visual Studio IntelliSense.
|
// For Visual Studio IntelliSense.
|
||||||
|
Loading…
Reference in New Issue
Block a user