mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Improve love.filesystem.lines
This commit is contained in:
@@ -270,17 +270,6 @@ namespace physfs
|
||||
**/
|
||||
int enumerate(lua_State * L);
|
||||
|
||||
/**
|
||||
* Returns an iterator which iterates over
|
||||
* lines in files.
|
||||
**/
|
||||
int lines(lua_State * L);
|
||||
|
||||
/**
|
||||
* The line iterator function.
|
||||
**/
|
||||
static int lines_i(lua_State * L);
|
||||
|
||||
/**
|
||||
* Loads a file without running it. The loaded
|
||||
* chunk is returned as a function.
|
||||
@@ -291,6 +280,13 @@ namespace physfs
|
||||
|
||||
int getLastModified(lua_State * L);
|
||||
|
||||
/**
|
||||
* Text file line-reading iterator function used and
|
||||
* pushed on the Lua stack by love.filesystem.lines
|
||||
* and File:lines.
|
||||
**/
|
||||
static int lines_i(lua_State * L);
|
||||
|
||||
}; // Filesystem
|
||||
|
||||
} // physfs
|
||||
|
||||
Reference in New Issue
Block a user