equal
deleted
inserted
replaced
2 #include "physfs.h" |
2 #include "physfs.h" |
3 |
3 |
4 #include "physfscompat.h" |
4 #include "physfscompat.h" |
5 |
5 |
6 #define BUFSIZE 1024 |
6 #define BUFSIZE 1024 |
|
7 #define UNUSED(x) (void)(x) |
7 |
8 |
8 void *physfsReaderBuffer; |
9 void *physfsReaderBuffer; |
9 |
10 |
10 PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size) |
11 PHYSFS_DECL const char * physfsReader(lua_State *L, PHYSFS_File *f, size_t *size) |
11 { |
12 { |
|
13 UNUSED(L); |
12 |
14 |
13 if(PHYSFS_eof(f)) |
15 if(PHYSFS_eof(f)) |
14 { |
16 { |
15 return NULL; |
17 return NULL; |
16 } |
18 } |