mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
Fixed mistyped syntax of disp.imagedraw() function
This commit is contained in:
parent
69e02e0375
commit
1acaa67361
@ -84,8 +84,10 @@ static int disp_imageDraw(lua_State *L) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define MIN_OPT_LEVEL 2
|
#define MIN_OPT_LEVEL 2
|
||||||
#include "lrodefs.h"
|
#include "lrodefs.h"
|
||||||
|
|
||||||
// Module function map
|
// Module function map
|
||||||
const LUA_REG_TYPE disp_map[] =
|
const LUA_REG_TYPE disp_map[] =
|
||||||
{
|
{
|
||||||
@ -96,7 +98,7 @@ const LUA_REG_TYPE disp_map[] =
|
|||||||
{ LSTRKEY( "off" ), LFUNCVAL( disp_off ) },
|
{ LSTRKEY( "off" ), LFUNCVAL( disp_off ) },
|
||||||
{ LSTRKEY( "clear" ), LFUNCVAL( disp_clear ) },
|
{ LSTRKEY( "clear" ), LFUNCVAL( disp_clear ) },
|
||||||
{ LSTRKEY( "stringdraw" ), LFUNCVAL( disp_stringDraw ) },
|
{ LSTRKEY( "stringdraw" ), LFUNCVAL( disp_stringDraw ) },
|
||||||
{ LSTRKEY( "imgagedraw" ), LFUNCVAL( disp_imageDraw ) },
|
{ LSTRKEY( "imagedraw" ), LFUNCVAL( disp_imageDraw ) },
|
||||||
{ LNILKEY, LNILVAL }
|
{ LNILKEY, LNILVAL }
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -104,3 +106,4 @@ LUALIB_API int luaopen_disp( lua_State *L )
|
|||||||
{
|
{
|
||||||
LREGISTER( L, AUXLIB_DISP, disp_map );
|
LREGISTER( L, AUXLIB_DISP, disp_map );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user