double op2 = luaL_checknumber(L,2);. lua_pushnumber(L,op1 - op2);. return 1;. } //待Lua调用的C注册函数。 static int l_sin (lua_State *L) {.
確定! 回上一頁