From a303adca8b4b86bc67f6557328768b28232580e4 Mon Sep 17 00:00:00 2001 From: worktycho Date: Sun, 27 Apr 2014 13:03:34 -0700 Subject: [PATCH] Update CoverityModel.cpp --- CoverityModel.cpp | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/CoverityModel.cpp b/CoverityModel.cpp index 818aa95c..3ee6447e 100644 --- a/CoverityModel.cpp +++ b/CoverityModel.cpp @@ -1,5 +1,17 @@ -void tolua_error (lua_State* L, const char* msg, tolua_Error* err) -{ - __coverity_panic__(); + +extern "C" { + struct lua_State; + struct tolua_Error + { + int index; + int array; + const char* type; + }; + + void tolua_error (lua_State* L, const char* msg, tolua_Error* err) + { + __coverity_panic__(); + } + }