MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / luaL_loadbufferx

Function luaL_loadbufferx

libraries/AP_Scripting/lua/src/lauxlib.c:760–766  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758
759
760LUALIB_API int luaL_loadbufferx (lua_State *L, const char *buff, size_t size,
761 const char *name, const char *mode) {
762 LoadS ls;
763 ls.s = buff;
764 ls.size = size;
765 return lua_load(L, getS, &ls, name, mode);
766}
767
768
769LUALIB_API int luaL_loadstring (lua_State *L, const char *s) {

Callers 1

luaB_loadFunction · 0.85

Calls 1

lua_loadFunction · 0.85

Tested by

no test coverage detected