| 807 | } |
| 808 | |
| 809 | LUALIB_API int xlua_csharp_str_error(lua_State* L, const char* msg) |
| 810 | { |
| 811 | lua_pushboolean(L, 1); |
| 812 | lua_replace(L, lua_upvalueindex(2)); |
| 813 | lua_pushstring(L, msg); |
| 814 | return 1; |
| 815 | } |
| 816 | |
| 817 | LUALIB_API int xlua_csharp_error(lua_State* L) |
| 818 | { |
no test coverage detected