1 2 3 4 5 6 7
#include "vulkan/vk_layer.h" // Use helper macro intended for vulkan layers to export functions VK_LAYER_EXPORT int foobar() { return 0; }