- 附录一 Lua 5.1 程序接口
- Lua functions
- C API
- auxiliary library
- 导航
附录一 Lua 5.1 程序接口
Lua functions
_G_VERSIONassertcollectgarbagedofileerrorgetfenvgetmetatableipairsloadloadfileloadstringmodulenextpairspcallprintrawequalrawgetrawsetrequireselectsetfenvsetmetatabletonumbertostringtypeunpackxpcallcoroutine.createcoroutine.resumecoroutine.runningcoroutine.statuscoroutine.wrapcoroutine.yielddebug.debugdebug.getfenvdebug.gethookdebug.getinfodebug.getlocaldebug.getmetatabledebug.getregistrydebug.getupvaluedebug.setfenvdebug.sethookdebug.setlocaldebug.setmetatabledebug.setupvaluedebug.tracebackfile:closefile:flushfile:linesfile:readfile:seekfile:setvbuffile:writeio.closeio.flushio.inputio.linesio.openio.outputio.popenio.readio.stderrio.stdinio.stdoutio.tmpfileio.typeio.writemath.absmath.acosmath.asinmath.atanmath.atan2math.ceilmath.cosmath.coshmath.degmath.expmath.floormath.fmodmath.frexpmath.hugemath.ldexpmath.logmath.log10math.maxmath.minmath.modfmath.pimath.powmath.radmath.randommath.randomseedmath.sinmath.sinhmath.sqrtmath.tanmath.tanhos.clockos.dateos.difftimeos.executeos.exitos.getenvos.removeos.renameos.setlocaleos.timeos.tmpnamepackage.cpathpackage.loadedpackage.loaderspackage.loadlibpackage.pathpackage.preloadpackage.seeallstring.bytestring.charstring.dumpstring.findstring.formatstring.gmatchstring.gsubstring.lenstring.lowerstring.matchstring.repstring.reversestring.substring.uppertable.concattable.inserttable.maxntable.removetable.sort
C API
lua_Alloclua_CFunctionlua_Debuglua_Hooklua_Integerlua_Numberlua_Readerlua_Statelua_Writerlua_atpaniclua_calllua_checkstacklua_closelua_concatlua_cpcalllua_createtablelua_dumplua_equallua_errorlua_gclua_getallocflua_getfenvlua_getfieldlua_getgloballua_gethooklua_gethookcountlua_gethookmasklua_getinfolua_getlocallua_getmetatablelua_getstacklua_gettablelua_gettoplua_getupvaluelua_insertlua_isbooleanlua_iscfunctionlua_isfunctionlua_islightuserdatalua_isnillua_isnonelua_isnoneornillua_isnumberlua_isstringlua_istablelua_isthreadlua_isuserdatalua_lessthanlua_loadlua_newstatelua_newtablelua_newthreadlua_newuserdatalua_nextlua_objlenlua_pcalllua_poplua_pushbooleanlua_pushcclosurelua_pushcfunctionlua_pushfstringlua_pushintegerlua_pushlightuserdatalua_pushliterallua_pushlstringlua_pushnillua_pushnumberlua_pushstringlua_pushthreadlua_pushvaluelua_pushvfstringlua_rawequallua_rawgetlua_rawgetilua_rawsetlua_rawsetilua_registerlua_removelua_replacelua_resumelua_setallocflua_setfenvlua_setfieldlua_setgloballua_sethooklua_setlocallua_setmetatablelua_settablelua_settoplua_setupvaluelua_statuslua_tobooleanlua_tocfunctionlua_tointegerlua_tolstringlua_tonumberlua_topointerlua_tostringlua_tothreadlua_touserdatalua_typelua_typenamelua_upvalueindexlua_xmovelua_yield
auxiliary library
luaL_BufferluaL_RegluaL_addcharluaL_addlstringluaL_addsizeluaL_addstringluaL_addvalueluaL_argcheckluaL_argerrorluaL_buffinitluaL_callmetaluaL_checkanyluaL_checkintluaL_checkintegerluaL_checklongluaL_checklstringluaL_checknumberluaL_checkoptionluaL_checkstackluaL_checkstringluaL_checktypeluaL_checkudataluaL_dofileluaL_dostringluaL_errorluaL_getmetafieldluaL_getmetatableluaL_gsubluaL_loadbufferluaL_loadfileluaL_loadstringluaL_newmetatableluaL_newstateluaL_openlibsluaL_optintluaL_optintegerluaL_optlongluaL_optlstringluaL_optnumberluaL_optstringluaL_prepbufferluaL_pushresultluaL_refluaL_registerluaL_typenameluaL_typerrorluaL_unrefluaL_where
导航
- 目录
- 上一章:LuaJIT 介绍
- 下一章:附录二 Lua 5.2 程序接口