mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Merged default into Mesh
--HG-- branch : Mesh
This commit is contained in:
+1
-11
@@ -168,7 +168,7 @@ int luax_intflag(lua_State *L, int table_index, const char *key, int defaultValu
|
||||
if (!lua_isnumber(L, -1))
|
||||
retval = defaultValue;
|
||||
else
|
||||
retval = lua_tonumber(L, -1);
|
||||
retval = (int) lua_tointeger(L, -1);
|
||||
|
||||
lua_pop(L, 1);
|
||||
return retval;
|
||||
@@ -533,16 +533,6 @@ int luax_pconvobj(lua_State *L, int idxs[], int n, const char *mod, const char *
|
||||
return ret;
|
||||
}
|
||||
|
||||
int luax_strtofile(lua_State *L, int idx)
|
||||
{
|
||||
return luax_convobj(L, idx, "filesystem", "newFile");
|
||||
}
|
||||
|
||||
int luax_filetodata(lua_State *L, int idx)
|
||||
{
|
||||
return luax_convobj(L, idx, "filesystem", "read");
|
||||
}
|
||||
|
||||
int luax_insist(lua_State *L, int idx, const char *k)
|
||||
{
|
||||
// Convert to absolute index if necessary.
|
||||
|
||||
Reference in New Issue
Block a user