forked from len0rd/rockbox
lua optimize current_path function
frees up around 500 bytes by using the builtin string functionality Change-Id: Icd4ec921d3fec339b8a4b7f80c9c63d51d4c101c
This commit is contained in:
parent
0b7a8d5afd
commit
07fed9053a
4 changed files with 13 additions and 24 deletions
|
@ -46,7 +46,7 @@ struct lua_str_reg {
|
|||
};
|
||||
|
||||
LUALIB_API int (luaopen_rock) (lua_State *L);
|
||||
const char* get_current_path(lua_State *L, int level);
|
||||
int get_current_path(lua_State *L, int level);
|
||||
|
||||
#endif /* _ROCKLIB_H_ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue