lua move RLIMAGE to own file

Change-Id: Icd10e4c348deec7729d4a6e2bf1152e1dfc70243
This commit is contained in:
William Wilgus 2018-08-24 00:44:32 +02:00
parent be801c61bb
commit 733c20d5d3
5 changed files with 1503 additions and 1411 deletions

View file

@ -23,6 +23,20 @@
#define _ROCKLIB_H_
#define LUA_ROCKLIBNAME "rb"
#ifndef ERR_IDX_RANGE
#define ERR_IDX_RANGE "index out of range"
#endif
#ifndef ERR_DATA_OVF
#define ERR_DATA_OVF "data overflow"
#endif
#ifndef ERR_NO_ALLOC_DBYTES
#define ERR_NO_ALLOC_DBYTES "Can't allocate %d bytes!"
#endif
LUALIB_API int (luaopen_rock) (lua_State *L);
const char* get_current_path(lua_State *L, int level);