summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CoverityModel.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/CoverityModel.cpp b/CoverityModel.cpp
index 818aa95ca..3ee6447ee 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__();
+ }
+
}