diff options
author | worktycho <work.tycho@gmail.com> | 2014-04-27 22:03:34 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-04-27 22:03:34 +0200 |
commit | a303adca8b4b86bc67f6557328768b28232580e4 (patch) | |
tree | cb8330a80451f8efab1ae7a709a6cbfd355c0be1 /CoverityModel.cpp | |
parent | Create CoverityModel.cpp (diff) | |
download | cuberite-a303adca8b4b86bc67f6557328768b28232580e4.tar cuberite-a303adca8b4b86bc67f6557328768b28232580e4.tar.gz cuberite-a303adca8b4b86bc67f6557328768b28232580e4.tar.bz2 cuberite-a303adca8b4b86bc67f6557328768b28232580e4.tar.lz cuberite-a303adca8b4b86bc67f6557328768b28232580e4.tar.xz cuberite-a303adca8b4b86bc67f6557328768b28232580e4.tar.zst cuberite-a303adca8b4b86bc67f6557328768b28232580e4.zip |
Diffstat (limited to 'CoverityModel.cpp')
-rw-r--r-- | CoverityModel.cpp | 18 |
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__(); + } + } |