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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lbaselib.c

?? 這個是一個嵌入式腳本支持引擎, 體積十分小巧
?? C
?? 第 1 頁 / 共 2 頁
字號:
  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));  if (i > e) return 0;  /* empty range */  n = e - i + 1;  /* number of elements */  if (n <= 0 || !lua_checkstack(L, n))  /* n <= 0 means arith. overflow */    return luaL_error(L, "too many results to unpack");  lua_rawgeti(L, 1, i);  /* push arg[i] (avoiding overflow problems) */  while (i++ < e)  /* push arg[i + 1...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** =======================================================*/#define CO_RUN	0	/* running */#define CO_SUS	1	/* suspended */#define CO_NOR	2	/* 'normal' (it resumed another coroutine) */#define CO_DEAD	3static const char *const statnames[] =    {"running", "suspended", "normal", "dead"};static int costatus (lua_State *L, lua_State *co) {  if (L == co) return CO_RUN;  switch (lua_status(co)) {    case LUA_YIELD:      return CO_SUS;    case 0: {      lua_Debug ar;      if (lua_getstack(co, 0, &ar) > 0)  /* does it have frames? */        return CO_NOR;  /* it is running */      else if (lua_gettop(co) == 0)          return CO_DEAD;      else        return CO_SUS;  /* initial state */    }    default:  /* some error occured */      return CO_DEAD;  }}static int luaB_costatus (lua_State *L) {  lua_State *co = lua_tothread(L, 1);  luaL_argcheck(L, co, 1, "coroutine expected");  lua_pushstring(L, statnames[costatus(L, co)]);  return 1;}static int auxresume (lua_State *L, lua_State *co, int narg) {  int status = costatus(L, co);  if (!lua_checkstack(co, narg))    luaL_error(L, "too many arguments to resume");  if (status != CO_SUS) {    lua_pushfstring(L, "cannot resume %s coroutine", statnames[status]);    return -1;  /* error flag */  }  lua_xmove(L, co, narg);  lua_setlevel(L, co);  status = lua_resume(co, narg);  if (status == 0 || status == LUA_YIELD) {    int nres = lua_gettop(co);    if (!lua_checkstack(L, nres + 1))      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_corunning (lua_State *L) {  if (lua_pushthread(L))    lua_pushnil(L);  /* main thread is not a coroutine */  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;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品日韩综合观看成人91| 天天综合色天天综合色h| 亚洲图片激情小说| 青青草精品视频| 97aⅴ精品视频一二三区| 日韩午夜激情视频| 亚洲日本青草视频在线怡红院| 精品制服美女久久| 色综合久久66| 国产欧美日韩在线| 日韩av电影一区| 色综合视频一区二区三区高清| 日韩欧美精品在线视频| 亚洲午夜一区二区| 成人97人人超碰人人99| 欧美r级在线观看| 天天色综合天天| 成人99免费视频| 欧美激情在线一区二区三区| 天堂成人国产精品一区| 91国产视频在线观看| 国产精品午夜电影| 国产精品亚洲第一区在线暖暖韩国 | 日本美女一区二区三区视频| www.欧美精品一二区| 国产亚洲精品bt天堂精选| 日本不卡一二三| 欧美丰满少妇xxxxx高潮对白| 亚洲激情图片一区| 99热99精品| 国产精品狼人久久影院观看方式| 毛片av一区二区三区| 欧美精品粉嫩高潮一区二区| 亚洲地区一二三色| 在线视频你懂得一区| 亚洲你懂的在线视频| 91麻豆国产福利精品| 亚洲欧美色一区| 色哟哟在线观看一区二区三区| 国产精品亲子乱子伦xxxx裸| 国产**成人网毛片九色 | 国产乱子轮精品视频| 日韩精品中文字幕一区二区三区 | 国产精品综合一区二区三区| 精品va天堂亚洲国产| 狠狠久久亚洲欧美| 久久综合久久综合久久| 国产永久精品大片wwwapp| 国产欧美日韩激情| av激情亚洲男人天堂| 一个色在线综合| 欧美日韩精品电影| 蜜桃精品视频在线| 久久亚洲影视婷婷| eeuss国产一区二区三区| 日韩美女视频19| 在线不卡中文字幕| 久久99九九99精品| 国产精品国产成人国产三级| 91网上在线视频| 视频在线观看一区二区三区| 欧美精品一区二区精品网| 国产成人综合亚洲91猫咪| 自拍偷拍欧美精品| 欧美三片在线视频观看| 美女视频一区在线观看| 久久影院午夜论| 91丨porny丨国产入口| 天天影视涩香欲综合网| 国产午夜精品在线观看| 91搞黄在线观看| 美腿丝袜在线亚洲一区 | 日韩三级伦理片妻子的秘密按摩| 国产成人亚洲精品青草天美| 亚洲激情六月丁香| 欧美成人欧美edvon| av欧美精品.com| 奇米777欧美一区二区| 日本一区二区综合亚洲| 欧美在线高清视频| 国产精品18久久久久久vr| 亚洲综合网站在线观看| 久久久五月婷婷| 欧美日韩夫妻久久| 成人综合婷婷国产精品久久| 亚洲成人高清在线| ●精品国产综合乱码久久久久| 欧美mv日韩mv| 欧美三日本三级三级在线播放| 高清不卡一区二区在线| 日本特黄久久久高潮| 亚洲乱码精品一二三四区日韩在线 | 精品蜜桃在线看| 欧美日韩免费在线视频| 国产91综合网| 极品少妇xxxx精品少妇| 亚洲成人黄色影院| 亚洲黄色免费网站| 国产女人水真多18毛片18精品视频| 在线播放中文一区| 欧美在线视频全部完| 菠萝蜜视频在线观看一区| 激情成人综合网| 欧美aⅴ一区二区三区视频| 亚洲免费在线播放| 中文字幕一区二区三区在线不卡 | 欧美日产国产精品| 91免费国产视频网站| 高清不卡一二三区| 国产激情一区二区三区桃花岛亚洲| 麻豆国产精品777777在线| 午夜精品一区二区三区免费视频 | 亚洲第一久久影院| 一区二区三区波多野结衣在线观看 | 亚洲18女电影在线观看| 亚洲图片欧美一区| 亚洲午夜私人影院| 亚洲五码中文字幕| 日韩综合小视频| 丝袜美腿高跟呻吟高潮一区| 亚洲6080在线| 日本中文字幕一区二区视频| 午夜视频在线观看一区| 婷婷综合在线观看| 日日噜噜夜夜狠狠视频欧美人| 亚洲一区二区三区精品在线| 亚洲mv大片欧洲mv大片精品| 亚洲18色成人| 久久99精品久久久久婷婷| 激情久久五月天| 成人黄色电影在线| 色综合久久天天| 欧美日韩在线播放一区| 91精品国产91热久久久做人人 | 美女视频免费一区| 国产一区二区女| 不卡的电影网站| 欧美在线观看一二区| 欧美一区二区日韩| 国产亚洲美州欧州综合国| 中文字幕亚洲电影| 亚洲午夜久久久久久久久久久 | 亚洲日本丝袜连裤袜办公室| 亚洲精品亚洲人成人网| 国产日韩欧美激情| 欧美激情一区三区| 国产精品久久久久久久久免费樱桃 | 蜜桃91丨九色丨蝌蚪91桃色| 久久精品国产第一区二区三区 | 日韩午夜精品视频| 日韩视频在线一区二区| 精品国产制服丝袜高跟| 久久夜色精品国产欧美乱极品| 在线观看亚洲精品视频| 日韩精品一区二区三区四区视频 | 韩国一区二区三区| 国产成人在线色| 大胆欧美人体老妇| 欧美三级中文字幕| 日韩一级欧美一级| 国产亚洲欧美日韩日本| 中文字幕一区二区三区不卡| 日韩精品欧美精品| 国产毛片一区二区| 色婷婷国产精品| 欧美一区二区三区啪啪| 精品三级av在线| 成人欧美一区二区三区视频网页 | 欧美日韩一二三区| 日韩美女一区二区三区四区| 国产日韩v精品一区二区| 亚洲国产精品一区二区www在线 | 日韩国产在线观看一区| 成人免费看黄yyy456| 欧美中文字幕一二三区视频| 欧美大胆一级视频| 国产精品初高中害羞小美女文| 久久国产精品无码网站| 成人污污视频在线观看| av在线综合网| 制服丝袜亚洲播放| 国产精品国产成人国产三级| 日韩av中文字幕一区二区三区| 成人一区二区三区中文字幕| 欧美成人免费网站| 一区二区三区在线观看视频| 久久99日本精品| 欧美日韩一区精品| 亚洲综合在线视频| 国产成人免费视频一区| 欧美欧美欧美欧美| 亚洲欧洲av另类| 99精品偷自拍| 久久免费精品国产久精品久久久久| 一区二区免费在线播放| 欧美丝袜第三区| 亚洲一区二区美女| 波多野结衣一区二区三区 | 色狠狠一区二区三区香蕉| 日本一区二区三区四区在线视频|