From b9a99b22aa1044155e40030b265f7ba49dda48cf Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 10 Nov 2020 11:57:01 +0100 Subject: [PATCH] microsoft/compiler: move c++ higher up Reviewed-by: Jesse Natalie Part-of: --- src/microsoft/compiler/dxil_signature.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/microsoft/compiler/dxil_signature.h b/src/microsoft/compiler/dxil_signature.h index 81d2346b4dc..8fbcc479346 100644 --- a/src/microsoft/compiler/dxil_signature.h +++ b/src/microsoft/compiler/dxil_signature.h @@ -28,6 +28,10 @@ #include "nir.h" #include "util/string_buffer.h" +#ifdef __cplusplus +extern "C" { +#endif + /* struct taken from DXILContainer * Enums values were replaced by uint32_t since the must occupy 32 bit */ @@ -131,10 +135,6 @@ struct dxil_psv_runtime_info_1 { struct dxil_mdnode; struct dxil_module; -#ifdef __cplusplus -extern "C" { -#endif - const struct dxil_mdnode * get_signatures(struct dxil_module *mod, nir_shader *s);