lua move RLIMAGE to own file
Change-Id: Icd10e4c348deec7729d4a6e2bf1152e1dfc70243
This commit is contained in:
parent
be801c61bb
commit
733c20d5d3
5 changed files with 1503 additions and 1411 deletions
|
@ -28,6 +28,7 @@ lvm.c
|
|||
lzio.c
|
||||
rockaux.c
|
||||
rocklib.c
|
||||
rocklib_img.c
|
||||
tlsf_helper.c
|
||||
fscanf.c
|
||||
gmtime.c
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -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);
|
||||
|
||||
|
|
1452
apps/plugins/lua/rocklib_img.c
Normal file
1452
apps/plugins/lua/rocklib_img.c
Normal file
File diff suppressed because it is too large
Load diff
31
apps/plugins/lua/rocklib_img.h
Normal file
31
apps/plugins/lua/rocklib_img.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/***************************************************************************
|
||||
* __________ __ ___.
|
||||
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
* \/ \/ \/ \/ \/
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2008 Dan Everton (safetydan)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation; either version 2
|
||||
* of the License, or (at your option) any later version.
|
||||
*
|
||||
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
||||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef _ROCKLIB_IMG_H_
|
||||
#define _ROCKLIB_IMG_H_
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#define RLI_EXTENDED
|
||||
#endif
|
||||
|
||||
LUALIB_API int rli_init(lua_State *L);
|
||||
|
||||
#endif /* _ROCKLIB_IMG_H_ */
|
Loading…
Reference in a new issue