15 #define LRASPI_SCREENMODULE "screen"
16 #define LRASPI_FONTMODULE "font"
17 #define LRASPI_COLOURMODULE "colour"
18 #define LRASPI_DRAWMODULE "draw"
19 #define LRASPI_IMAGEMODULE "image"
21 #define LRASPI_TFONT "font"
22 #define LRASPI_TCOLOUR "colour"
23 #define LRASPI_TIMAGE "image"
void lraspi_newobject(lua_State *L, const char *objname, const luaL_Reg methods[])
Creates a new metatable that represents an object.
void lraspi_openlibs(lua_State *L)
Opens default LRaspi libraries.
void lraspi_dofile(lua_State *L, const char *path)
Opens a lua file.