summaryrefslogtreecommitdiffstats
path: root/CoverityModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CoverityModel.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/CoverityModel.cpp b/CoverityModel.cpp
new file mode 100644
index 000000000..3ee6447ee
--- /dev/null
+++ b/CoverityModel.cpp
@@ -0,0 +1,17 @@
+
+
+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__();
+ }
+
+}