MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / string pluto_optstring

Method string pluto_optstring

src/lauxlib.cpp:452–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450
451
452PLUTOLIB_API std::string pluto_optstring (lua_State *L, int arg, std::string def) {
453 if (lua_isnoneornil(L, arg))
454 return def;
455 return pluto_checkstring(L, arg);
456}
457
458
459LUALIB_API lua_Number luaL_checknumber (lua_State *L, int arg) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected