- 附录二 Lua 5.2 程序接口
- Lua functions
- C API
- auxiliary library
- 导航
附录二 Lua 5.2 程序接口
Lua functions
_G_VERSIONassertcollectgarbagedofileerrorgetmetatableipairsloadfileloadnextpairspcallprintrawequalrawgetrawlenrawsetrequireselectsetmetatabletonumbertostringtypexpcallbit32.arshiftbit32.bandbit32.bnotbit32.borbit32.btestbit32.bxorbit32.extractbit32.lrotatebit32.lshiftbit32.replacebit32.rrotatebit32.rshiftcoroutine.createcoroutine.resumecoroutine.runningcoroutine.statuscoroutine.wrapcoroutine.yielddebug.debugdebug.getuservaluedebug.gethookdebug.getinfodebug.getlocaldebug.getmetatabledebug.getregistrydebug.getupvaluedebug.setuservaluedebug.sethookdebug.setlocaldebug.setmetatabledebug.setupvaluedebug.tracebackdebug.upvalueiddebug.upvaluejoinfile: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.maxmath.minmath.modfmath.pimath.powmath.radmath.randommath.randomseedmath.sinmath.sinhmath.sqrtmath.tanmath.tanhos.clockos.dateos.difftimeos.executeos.exitos.getenvos.removeos.renameos.setlocaleos.timeos.tmpnamepackage.configpackage.cpathpackage.loadedpackage.loadlibpackage.pathpackage.preloadpackage.searcherspackage.searchpathstring.bytestring.charstring.dumpstring.findstring.formatstring.gmatchstring.gsubstring.lenstring.lowerstring.matchstring.repstring.reversestring.substring.uppertable.concattable.inserttable.packtable.removetable.sorttable.unpack
C API
lua_Alloclua_CFunctionlua_Debuglua_Hooklua_Integerlua_Numberlua_Readerlua_Statelua_Unsignedlua_Writerlua_absindexlua_arithlua_atpaniclua_calllua_callklua_checkstacklua_closelua_comparelua_concatlua_copylua_createtablelua_dumplua_errorlua_gclua_getallocflua_getctxlua_getfieldlua_getgloballua_gethooklua_gethookcountlua_gethookmasklua_getinfolua_getlocallua_getmetatablelua_getstacklua_gettablelua_gettoplua_getupvaluelua_getuservaluelua_insertlua_isbooleanlua_iscfunctionlua_isfunctionlua_islightuserdatalua_isnillua_isnonelua_isnoneornillua_isnumberlua_isstringlua_istablelua_isthreadlua_isuserdatalua_lenlua_loadlua_newstatelua_newtablelua_newthreadlua_newuserdatalua_nextlua_pcalllua_pcallklua_poplua_pushbooleanlua_pushcclosurelua_pushcfunctionlua_pushfstringlua_pushintegerlua_pushlightuserdatalua_pushliterallua_pushlstringlua_pushnillua_pushnumberlua_pushstringlua_pushthreadlua_pushvaluelua_pushvfstringlua_rawequallua_rawgetlua_rawgetilua_rawlenlua_rawsetlua_rawsetilua_rawgetplua_rawsetplua_registerlua_removelua_replacelua_resumelua_setallocflua_setfieldlua_setgloballua_sethooklua_setlocallua_setmetatablelua_settablelua_settoplua_setupvaluelua_setuservaluelua_statuslua_tobooleanlua_tocfunctionlua_tointegerlua_tointegerxlua_tolstringlua_tonumberlua_tonumberxlua_topointerlua_tostringlua_tothreadlua_tounsignedlua_tounsignedxlua_touserdatalua_typelua_typenamelua_upvalueidlua_upvalueindexlua_upvaluejoinlua_versionlua_xmovelua_yieldlua_yieldk
auxiliary library
luaL_BufferluaL_RegluaL_addcharluaL_addlstringluaL_addsizeluaL_addstringluaL_addvalueluaL_argcheckluaL_argerrorluaL_buffinitluaL_buffinitsizeluaL_callmetaluaL_checkanyluaL_checkintegerluaL_checkintluaL_checklongluaL_checklstringluaL_checknumberluaL_checkoptionluaL_checkstackluaL_checkstringluaL_checktypeluaL_checkudataluaL_checkunsignedluaL_checkversionluaL_dofileluaL_dostringluaL_errorluaL_execresultluaL_fileresultluaL_getmetafieldluaL_getmetatableluaL_getsubtableluaL_gsubluaL_lenluaL_loadbufferluaL_loadbufferxluaL_loadfileluaL_loadfilexluaL_loadstringluaL_newlibluaL_newlibtableluaL_newmetatableluaL_newstateluaL_openlibsluaL_optintegerluaL_optintluaL_optlongluaL_optlstringluaL_optnumberluaL_optstringluaL_optunsignedluaL_prepbufferluaL_prepbuffsizeluaL_pushresultluaL_pushresultsizeluaL_refluaL_requirefluaL_setfuncsluaL_setmetatableluaL_testudataluaL_tolstringluaL_tracebackluaL_typenameluaL_unrefluaL_where
导航