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

Function lsys_sym

libraries/AP_Scripting/lua/src/loadlib.c:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134
135static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) {
136 lua_CFunction f = cast_func(dlsym(lib, sym));
137 if (f == NULL) lua_pushstring(L, dlerror());
138 return f;
139}
140
141/* }====================================================== */
142

Callers 1

lookforfuncFunction · 0.85

Calls 2

lua_pushstringFunction · 0.85
pusherrorFunction · 0.85

Tested by

no test coverage detected