Removed the callback argument from love.filesystem.getDirectoryItems (resolves issue #877.)

Cleaned up the getDirectoryItems ccde to no longer call Lua API functions from Filesystem.cpp (now it's all in wrap_Filesystem.cpp.)
This commit is contained in:
Alex Szpakowski
2015-04-25 00:16:10 -03:00
parent 289eeb4fe0
commit e7f56241ec
4 changed files with 19 additions and 28 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ public:
void write(const char *filename, const void *data, int64 size) const;
void append(const char *filename, const void *data, int64 size) const;
int getDirectoryItems(lua_State *L);
void getDirectoryItems(const char *dir, std::vector<std::string> &items);
int64 getLastModified(const char *filename) const;
int64 getSize(const char *filename) const;