Home
last modified time | relevance | path

Searched refs:LUA_API (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/mit/lua/dist/src/
H A Dlua.h167 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
168 LUA_API void (lua_close) (lua_State *L);
169 LUA_API lua_State *(lua_newthread) (lua_State *L);
170 LUA_API int (lua_closethread) (lua_State *L, lua_State *from);
171 LUA_API int (lua_resetthread) (lua_State *L); /* Deprecated! */
173 LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
176 LUA_API lua_Number (lua_version) (lua_State *L);
182 LUA_API int (lua_absindex) (lua_State *L, int idx);
183 LUA_API int (lua_gettop) (lua_State *L);
184 LUA_API void (lua_settop) (lua_State *L, int idx);
[all …]
H A Dlapi.c117 LUA_API int lua_checkstack (lua_State *L, int n) { in lua_checkstack()
134 LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) { in lua_xmove()
150 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic()
160 LUA_API lua_Number lua_version (lua_State *L) { in lua_version()
175 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex()
182 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
187 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop()
215 LUA_API void lua_closeslot (lua_State *L, int idx) { in lua_closeslot()
247 LUA_API void lua_rotate (lua_State *L, int idx, int n) { in lua_rotate()
261 LUA_API void lua_copy (lua_State *L, int fromidx, int toidx) { in lua_copy()
[all …]
H A Dluaconf.h288 #define LUA_API __declspec(dllexport) macro
290 #define LUA_API __declspec(dllimport) macro
295 #define LUA_API extern macro
303 #define LUALIB_API LUA_API
304 #define LUAMOD_API LUA_API
H A Dlstate.c103 LUA_API int lua_setcstacklimit (lua_State *L, unsigned int limit) { in lua_setcstacklimit()
290 LUA_API lua_State *lua_newthread (lua_State *L) { in lua_newthread()
346 LUA_API int lua_closethread (lua_State *L, lua_State *from) { in lua_closethread()
359 LUA_API int lua_resetthread (lua_State *L) { in lua_resetthread()
364 LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { in lua_newstate()
420 LUA_API void lua_close (lua_State *L) { in lua_close()
H A Dldebug.c135 LUA_API void lua_sethook (lua_State *L, lua_Hook func, int mask, int count) { in lua_sethook()
149 LUA_API lua_Hook lua_gethook (lua_State *L) { in lua_gethook()
154 LUA_API int lua_gethookmask (lua_State *L) { in lua_gethookmask()
159 LUA_API int lua_gethookcount (lua_State *L) { in lua_gethookcount()
164 LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar) { in lua_getstack()
224 LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n) { in lua_getlocal()
246 LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n) { in lua_setlocal()
387 LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) { in lua_getinfo()
H A Dldo.c835 LUA_API int lua_resume (lua_State *L, lua_State *from, int nargs, in lua_resume()
870 LUA_API int lua_isyieldable (lua_State *L) { in lua_isyieldable()
875 LUA_API int lua_yieldk (lua_State *L, int nresults, lua_KContext ctx, in lua_yieldk()