zink: add c++ guards for zink_screen.h

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16544>
This commit is contained in:
Mike Blumenkrantz 2022-05-16 11:27:58 -04:00 committed by Marge Bot
parent b18448e7ac
commit 5d5b6197e3

View file

@ -43,6 +43,11 @@
#include <vulkan/vulkan.h>
#ifdef __cplusplus
extern "C" {
#endif
extern uint32_t zink_debug;
struct hash_table;
struct util_dl_library;
@ -295,4 +300,8 @@ zink_stub_function_not_loaded(void);
} \
} while (0)
#ifdef __cplusplus
}
#endif
#endif