LRaspi  2022.1
A Lua Player for Rasberry Pi
lfont.h File Reference
#include "lua.h"
#include "lraspi.h"

Go to the source code of this file.

Typedefs

typedef lraspi_Font ** lua_Font
 

Functions

void lraspi_pushfont (lua_State *L, lraspi_Font *font)
 Pushes a font object onto the stack. More...
 
lua_Font lraspi_checkfont (lua_State *L, int narg)
 Checks whether the function argument narg is a font object. More...
 
lua_Font lraspi_optfont (lua_State *L, int arg, lua_Font d)
 If the function argument arg is a font object, return this font. If this argument is absent or is nil, return d. Otherwise, raises an error. More...
 
int luaopen_font (lua_State *L)