MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / argcheck

Function argcheck

libaegisub/lua/utils.cpp:212–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void argcheck(lua_State *L, bool cond, int narg, const char *msg) {
213 if (!cond) argerror(L, narg, msg);
214}
215
216int exception_wrapper(lua_State *L, int (*func)(lua_State *L)) {
217 try {

Callers 4

lua_text_textentsFunction · 0.85
ObjectDeleteMethod · 0.85
ObjectInsertMethod · 0.85
LuaParseKaraokeDataMethod · 0.85

Calls 1

argerrorFunction · 0.85

Tested by

no test coverage detected