Mesa (master): swr: [rasterizer jitter] adjust extern "C" block scope

Tim Rowley torowley at kemper.freedesktop.org
Thu Aug 4 19:57:12 UTC 2016


Module: Mesa
Branch: master
Commit: 61cc012e9a6a0abe67266920327950110ccdcec1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=61cc012e9a6a0abe67266920327950110ccdcec1

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Thu Jul 21 16:54:25 2016 -0600

swr: [rasterizer jitter] adjust extern "C" block scope

Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>

---

 src/gallium/drivers/swr/rasterizer/jitter/jit_api.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h b/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h
index f5c27f0..05af540 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h
+++ b/src/gallium/drivers/swr/rasterizer/jitter/jit_api.h
@@ -47,8 +47,7 @@
 #define JITCALL
 #endif
 
-extern "C"
-{
+
 
 struct ShaderInfo;
 
@@ -64,6 +63,9 @@ struct JIT_COMPILE_INPUT
     bool enableJitSampler;
 };
 
+extern "C"
+{
+
 //////////////////////////////////////////////////////////////////////////
 /// @brief Create JIT context.
 HANDLE JITCALL JitCreateContext(uint32_t targetSimdWidth, const char* arch);
@@ -107,5 +109,5 @@ PFN_SO_FUNC JITCALL JitCompileStreamout(HANDLE hJitContext, const STREAMOUT_COMP
 /// @param state   - blend state to build function from
 PFN_BLEND_JIT_FUNC JITCALL JitCompileBlend(HANDLE hJitContext, const BLEND_COMPILE_STATE& state);
 
+}
 
-}; // extern "C"




More information about the mesa-commit mailing list