亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? lbaselib.c

?? 腳本語(yǔ)言lua-5.1的源代碼, 非常的經(jīng)典!
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
static int luaB_dofile (lua_State *L) {  const char *fname = luaL_optstring(L, 1, NULL);  int n = lua_gettop(L);  if (luaL_loadfile(L, fname) != 0) lua_error(L);  lua_call(L, 0, LUA_MULTRET);  return lua_gettop(L) - n;}static int luaB_assert (lua_State *L) {  luaL_checkany(L, 1);  if (!lua_toboolean(L, 1))    return luaL_error(L, "%s", luaL_optstring(L, 2, "assertion failed!"));  return lua_gettop(L);}static int luaB_unpack (lua_State *L) {  int i, e, n;  luaL_checktype(L, 1, LUA_TTABLE);  i = luaL_optint(L, 2, 1);  e = luaL_opt(L, luaL_checkint, 3, luaL_getn(L, 1));  n = e - i + 1;  /* number of elements */  if (n <= 0) return 0;  /* empty range */  luaL_checkstack(L, n, "table too big to unpack");  for (; i<=e; i++)  /* push arg[i...e] */    lua_rawgeti(L, 1, i);  return n;}static int luaB_select (lua_State *L) {  int n = lua_gettop(L);  if (lua_type(L, 1) == LUA_TSTRING && *lua_tostring(L, 1) == '#') {    lua_pushinteger(L, n-1);    return 1;  }  else {    int i = luaL_checkint(L, 1);    if (i < 0) i = n + i;    else if (i > n) i = n;    luaL_argcheck(L, 1 <= i, 1, "index out of range");    return n - i;  }}static int luaB_pcall (lua_State *L) {  int status;  luaL_checkany(L, 1);  status = lua_pcall(L, lua_gettop(L) - 1, LUA_MULTRET, 0);  lua_pushboolean(L, (status == 0));  lua_insert(L, 1);  return lua_gettop(L);  /* return status + all results */}static int luaB_xpcall (lua_State *L) {  int status;  luaL_checkany(L, 2);  lua_settop(L, 2);  lua_insert(L, 1);  /* put error function under function to be called */  status = lua_pcall(L, 0, LUA_MULTRET, 1);  lua_pushboolean(L, (status == 0));  lua_replace(L, 1);  return lua_gettop(L);  /* return status + all results */}static int luaB_tostring (lua_State *L) {  luaL_checkany(L, 1);  if (luaL_callmeta(L, 1, "__tostring"))  /* is there a metafield? */    return 1;  /* use its value */  switch (lua_type(L, 1)) {    case LUA_TNUMBER:      lua_pushstring(L, lua_tostring(L, 1));      break;    case LUA_TSTRING:      lua_pushvalue(L, 1);      break;    case LUA_TBOOLEAN:      lua_pushstring(L, (lua_toboolean(L, 1) ? "true" : "false"));      break;    case LUA_TNIL:      lua_pushliteral(L, "nil");      break;    default:      lua_pushfstring(L, "%s: %p", luaL_typename(L, 1), lua_topointer(L, 1));      break;  }  return 1;}static int luaB_newproxy (lua_State *L) {  lua_settop(L, 1);  lua_newuserdata(L, 0);  /* create proxy */  if (lua_toboolean(L, 1) == 0)    return 1;  /* no metatable */  else if (lua_isboolean(L, 1)) {    lua_newtable(L);  /* create a new metatable `m' ... */    lua_pushvalue(L, -1);  /* ... and mark `m' as a valid metatable */    lua_pushboolean(L, 1);    lua_rawset(L, lua_upvalueindex(1));  /* weaktable[m] = true */  }  else {    int validproxy = 0;  /* to check if weaktable[metatable(u)] == true */    if (lua_getmetatable(L, 1)) {      lua_rawget(L, lua_upvalueindex(1));      validproxy = lua_toboolean(L, -1);      lua_pop(L, 1);  /* remove value */    }    luaL_argcheck(L, validproxy, 1, "boolean or proxy expected");    lua_getmetatable(L, 1);  /* metatable is valid; get it */  }  lua_setmetatable(L, 2);  return 1;}static const luaL_Reg base_funcs[] = {  {"assert", luaB_assert},  {"collectgarbage", luaB_collectgarbage},  {"dofile", luaB_dofile},  {"error", luaB_error},  {"gcinfo", luaB_gcinfo},  {"getfenv", luaB_getfenv},  {"getmetatable", luaB_getmetatable},  {"loadfile", luaB_loadfile},  {"load", luaB_load},  {"loadstring", luaB_loadstring},  {"next", luaB_next},  {"pcall", luaB_pcall},  {"print", luaB_print},  {"rawequal", luaB_rawequal},  {"rawget", luaB_rawget},  {"rawset", luaB_rawset},  {"select", luaB_select},  {"setfenv", luaB_setfenv},  {"setmetatable", luaB_setmetatable},  {"tonumber", luaB_tonumber},  {"tostring", luaB_tostring},  {"type", luaB_type},  {"unpack", luaB_unpack},  {"xpcall", luaB_xpcall},  {NULL, NULL}};/*** {======================================================** Coroutine library** =======================================================*/static int auxresume (lua_State *L, lua_State *co, int narg) {  int status;  if (!lua_checkstack(co, narg))    luaL_error(L, "too many arguments to resume");  if (lua_status(co) == 0 && lua_gettop(co) == 0) {    lua_pushliteral(L, "cannot resume dead coroutine");    return -1;  /* error flag */  }  lua_xmove(L, co, narg);  status = lua_resume(co, narg);  if (status == 0 || status == LUA_YIELD) {    int nres = lua_gettop(co);    if (!lua_checkstack(L, nres))      luaL_error(L, "too many results to resume");    lua_xmove(co, L, nres);  /* move yielded values */    return nres;  }  else {    lua_xmove(co, L, 1);  /* move error message */    return -1;  /* error flag */  }}static int luaB_coresume (lua_State *L) {  lua_State *co = lua_tothread(L, 1);  int r;  luaL_argcheck(L, co, 1, "coroutine expected");  r = auxresume(L, co, lua_gettop(L) - 1);  if (r < 0) {    lua_pushboolean(L, 0);    lua_insert(L, -2);    return 2;  /* return false + error message */  }  else {    lua_pushboolean(L, 1);    lua_insert(L, -(r + 1));    return r + 1;  /* return true + `resume' returns */  }}static int luaB_auxwrap (lua_State *L) {  lua_State *co = lua_tothread(L, lua_upvalueindex(1));  int r = auxresume(L, co, lua_gettop(L));  if (r < 0) {    if (lua_isstring(L, -1)) {  /* error object is a string? */      luaL_where(L, 1);  /* add extra info */      lua_insert(L, -2);      lua_concat(L, 2);    }    lua_error(L);  /* propagate error */  }  return r;}static int luaB_cocreate (lua_State *L) {  lua_State *NL = lua_newthread(L);  luaL_argcheck(L, lua_isfunction(L, 1) && !lua_iscfunction(L, 1), 1,    "Lua function expected");  lua_pushvalue(L, 1);  /* move function to top */  lua_xmove(L, NL, 1);  /* move function from L to NL */  return 1;}static int luaB_cowrap (lua_State *L) {  luaB_cocreate(L);  lua_pushcclosure(L, luaB_auxwrap, 1);  return 1;}static int luaB_yield (lua_State *L) {  return lua_yield(L, lua_gettop(L));}static int luaB_costatus (lua_State *L) {  lua_State *co = lua_tothread(L, 1);  luaL_argcheck(L, co, 1, "coroutine expected");  if (L == co) lua_pushliteral(L, "running");  else {    switch (lua_status(co)) {      case LUA_YIELD:        lua_pushliteral(L, "suspended");        break;      case 0: {        lua_Debug ar;        if (lua_getstack(co, 0, &ar) > 0)  /* does it have frames? */          lua_pushliteral(L, "normal");  /* it is running */        else if (lua_gettop(co) == 0)            lua_pushliteral(L, "dead");        else          lua_pushliteral(L, "suspended");  /* initial state */        break;      }      default:  /* some error occured */        lua_pushliteral(L, "dead");        break;    }  }  return 1;}static int luaB_corunning (lua_State *L) {  if (lua_pushthread(L))    return 0;  /* main thread is not a coroutine */  else    return 1;}static const luaL_Reg co_funcs[] = {  {"create", luaB_cocreate},  {"resume", luaB_coresume},  {"running", luaB_corunning},  {"status", luaB_costatus},  {"wrap", luaB_cowrap},  {"yield", luaB_yield},  {NULL, NULL}};/* }====================================================== */static void auxopen (lua_State *L, const char *name,                     lua_CFunction f, lua_CFunction u) {  lua_pushcfunction(L, u);  lua_pushcclosure(L, f, 1);  lua_setfield(L, -2, name);}static void base_open (lua_State *L) {  /* set global _G */  lua_pushvalue(L, LUA_GLOBALSINDEX);  lua_setglobal(L, "_G");  /* open lib into global table */  luaL_register(L, "_G", base_funcs);  lua_pushliteral(L, LUA_VERSION);  lua_setglobal(L, "_VERSION");  /* set global _VERSION */  /* `ipairs' and `pairs' need auxliliary functions as upvalues */  auxopen(L, "ipairs", luaB_ipairs, ipairsaux);  auxopen(L, "pairs", luaB_pairs, luaB_next);  /* `newproxy' needs a weaktable as upvalue */  lua_createtable(L, 0, 1);  /* new table `w' */  lua_pushvalue(L, -1);  /* `w' will be its own metatable */  lua_setmetatable(L, -2);  lua_pushliteral(L, "kv");  lua_setfield(L, -2, "__mode");  /* metatable(w).__mode = "kv" */  lua_pushcclosure(L, luaB_newproxy, 1);  lua_setglobal(L, "newproxy");  /* set global `newproxy' */}LUALIB_API int luaopen_base (lua_State *L) {  base_open(L);  luaL_register(L, LUA_COLIBNAME, co_funcs);  return 2;}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品一区二区三区四区| www国产成人| 99精品欧美一区二区蜜桃免费 | 久久久电影一区二区三区| 欧美一区国产二区| 欧美一区二区三区在线观看视频 | 精品美女一区二区| 日韩视频免费直播| 日韩一卡二卡三卡四卡| 91精品国产综合久久婷婷香蕉| 欧美日韩在线综合| 欧美卡1卡2卡| 欧美成人一区二区三区| 久久久综合激的五月天| 精品粉嫩超白一线天av| 国产亚洲欧洲一区高清在线观看| 久久久亚洲午夜电影| 国产精品免费视频网站| 综合网在线视频| 有码一区二区三区| 亚洲国产精品久久不卡毛片| 五月天欧美精品| 麻豆精品国产传媒mv男同| 国产一区二区三区av电影 | 日韩欧美国产小视频| 欧美电影免费观看高清完整版| wwwwxxxxx欧美| 成人欧美一区二区三区黑人麻豆 | 久久国产剧场电影| 国产黄色精品网站| 色婷婷av一区二区| 欧美一级理论性理论a| 国产欧美一区二区三区鸳鸯浴| 国产精品成人免费在线| 亚洲成人av在线电影| 久久国产精品第一页| 成人福利视频网站| 欧美高清激情brazzers| 久久亚洲综合色一区二区三区| 欧美国产精品久久| 亚洲午夜av在线| 韩国av一区二区三区四区| 99国产精品久久久| 91精品国产日韩91久久久久久| 久久丝袜美腿综合| 亚洲精品欧美在线| 老司机午夜精品| 色婷婷综合中文久久一本| 91精品国产综合久久婷婷香蕉| 久久久久国产一区二区三区四区 | 国产精品自拍一区| 色av成人天堂桃色av| 欧美成人在线直播| 亚洲一区二区三区在线| 久久草av在线| 在线视频你懂得一区| 日韩精品一区二区三区视频在线观看| 亚洲欧洲三级电影| 理论电影国产精品| 欧美日韩激情一区二区三区| 久久久蜜臀国产一区二区| 亚洲午夜激情av| 国产91丝袜在线播放0| 4438x亚洲最大成人网| 国产精品的网站| 国产在线不卡一卡二卡三卡四卡| 欧洲精品在线观看| 欧美国产亚洲另类动漫| 日本成人在线看| 欧美在线色视频| 中文字幕中文字幕在线一区| 老司机精品视频线观看86| 欧美制服丝袜第一页| 1024成人网色www| 国产一区二区精品久久91| 欧美久久久久久久久中文字幕| 国产精品入口麻豆九色| 看电影不卡的网站| 欧美三级日本三级少妇99| 成人欧美一区二区三区| 成人中文字幕合集| 欧美精品一区二区在线播放| 日韩一区精品字幕| 欧美日韩1234| 一区二区三区鲁丝不卡| 99久久久无码国产精品| 国产欧美日韩在线观看| 国产综合一区二区| 精品国产麻豆免费人成网站| 日本伊人精品一区二区三区观看方式| 一本到高清视频免费精品| 国产精品你懂的在线| 丁香桃色午夜亚洲一区二区三区| 日韩一区二区在线观看| 日本aⅴ免费视频一区二区三区| 欧美三级中文字幕| 亚洲影院久久精品| 欧美视频三区在线播放| 亚洲一区二区三区视频在线播放| 成人黄色免费短视频| 亚洲精品久久久久久国产精华液| 久久国产精品第一页| 日韩国产成人精品| 欧美日韩在线播| 亚洲观看高清完整版在线观看| 91蝌蚪porny| 亚洲黄一区二区三区| 一本一道久久a久久精品综合蜜臀 一本一道综合狠狠老 | 九九精品视频在线看| 制服丝袜亚洲网站| 亚洲成人一二三| 欧美日韩中文国产| 日韩电影一区二区三区| 欧美一区二区三区在线观看视频| 蜜臀久久99精品久久久久宅男 | 日日噜噜夜夜狠狠视频欧美人| 欧美无人高清视频在线观看| 亚洲大片在线观看| 日韩视频一区在线观看| 国产做a爰片久久毛片| 国产精品久久久久永久免费观看| 成人深夜在线观看| 亚洲欧美偷拍卡通变态| 91福利国产精品| 日韩avvvv在线播放| 精品国产区一区| 不卡大黄网站免费看| 亚洲欧美国产77777| 欧美日韩激情在线| 激情五月激情综合网| 亚洲国产精品99久久久久久久久 | 欧美一区二区三区人| 国产成人午夜精品5599| 亚洲三级在线观看| 911精品产国品一二三产区| 麻豆精品一区二区三区| 国产网站一区二区| 欧洲一区在线电影| 蜜桃久久精品一区二区| 中文字幕免费在线观看视频一区| 在线免费观看日韩欧美| 激情综合五月婷婷| 亚洲精品国产成人久久av盗摄| 91精品欧美综合在线观看最新 | 91猫先生在线| 亚洲成人综合在线| 26uuu精品一区二区| 色婷婷亚洲一区二区三区| 麻豆精品在线观看| 亚洲精品免费在线观看| 精品嫩草影院久久| 色狠狠桃花综合| 精彩视频一区二区三区| 亚洲日本欧美天堂| 精品美女被调教视频大全网站| 不卡一区二区在线| 裸体健美xxxx欧美裸体表演| 国产精品另类一区| 91精品国产91久久久久久一区二区| 成人黄色av网站在线| 日韩激情在线观看| 中文字幕一区二区三区在线观看| 这里只有精品免费| 99久久国产综合精品女不卡| 奇米四色…亚洲| 亚洲老妇xxxxxx| 国产婷婷色一区二区三区四区| 欧美视频自拍偷拍| 成人av电影在线| 狠狠色综合播放一区二区| 樱桃国产成人精品视频| 久久精品一区二区三区不卡| 欧美日韩国产精选| 91麻豆文化传媒在线观看| 国产综合色视频| 免费在线观看不卡| 亚洲一卡二卡三卡四卡| 国产精品成人免费精品自在线观看 | 成人蜜臀av电影| 久久激情五月激情| 亚洲一区在线视频观看| 国产精品久久久久久久久动漫 | 欧美视频中文字幕| 成人国产亚洲欧美成人综合网| 奇米精品一区二区三区在线观看一| 亚洲精品国产成人久久av盗摄| 中文字幕av资源一区| 久久伊人中文字幕| 精品国产一区二区三区不卡 | 亚洲精品高清在线| 成人欧美一区二区三区黑人麻豆 | 亚洲欧洲日韩在线| 欧美国产国产综合| 久久精品人人做人人综合 | wwwwww.欧美系列| 91精品综合久久久久久| 欧美精品成人一区二区三区四区| 日本高清免费不卡视频| 99久久精品久久久久久清纯| 波多野结衣中文字幕一区|