summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/LuaFTGL.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/LuaFTGL.cc b/lib/LuaFTGL.cc
index a5b2a8d..b64040f 100644
--- a/lib/LuaFTGL.cc
+++ b/lib/LuaFTGL.cc
@@ -34,29 +34,29 @@ enum EncapFTFont_functions_t {
};
struct lua_functypes_t EncapFTFont_methods[] = {
- { FTFONT_CHARMAP, "CharMap", 1, 1, { LUA_NUMBER } },
+ { FTFONT_CHARMAP, "CharMap", 1, 1, { BLUA_NUMBER } },
{ FTFONT_CHARMAPCOUNT, "CharMapCount", 0, 0, { } },
{ FTFONT_CHARMAPLIST, "CharMapList", 0, 0, { } },
- { FTFONT_FACESIZE, "FaceSize", 0, 2, { LUA_NUMBER, LUA_NUMBER } },
- { FTFONT_DEPTH, "Depth", 1, 1, { LUA_NUMBER } },
- { FTFONT_USEDISPLAYLIST, "UseDisplayList", 1, 1, { LUA_BOOLEAN } },
+ { FTFONT_FACESIZE, "FaceSize", 0, 2, { BLUA_NUMBER, BLUA_NUMBER } },
+ { FTFONT_DEPTH, "Depth", 1, 1, { BLUA_NUMBER } },
+ { FTFONT_USEDISPLAYLIST, "UseDisplayList", 1, 1, { BLUA_BOOLEAN } },
{ FTFONT_ASCENDER, "Ascender", 0, 0, { } },
{ FTFONT_DESCENDER, "Descender", 0, 0, { } },
{ FTFONT_LINEHEIGHT, "LineHeight", 0, 0, { } },
- { FTFONT_BBOX, "BBox", 1, 1, { LUA_STRING } },
- { FTFONT_ADVANCE, "Advance", 1, 1, { LUA_STRING } },
- { FTFONT_RENDER, "Render", 1, 1, { LUA_STRING } },
+ { FTFONT_BBOX, "BBox", 1, 1, { BLUA_STRING } },
+ { FTFONT_ADVANCE, "Advance", 1, 1, { BLUA_STRING } },
+ { FTFONT_RENDER, "Render", 1, 1, { BLUA_STRING } },
{ FTFONT_ERROR, "Error", 0, 0, { } },
{ -1, 0, 0, 0, 0 }
};
struct lua_functypes_t EncapFTFont_functions[] = {
- { FTFONT_NEWEXTRD, "NewExtrdFont", 1, 1, { LUA_OBJECT | LUA_STRING } },
- { FTFONT_NEWOUTLINE, "NewOutlineFont", 1, 1, { LUA_OBJECT | LUA_STRING } },
- { FTFONT_NEWPOLYGON, "NewPolygonFont", 1, 1, { LUA_OBJECT | LUA_STRING } },
- { FTFONT_NEWTEXTURE, "NewTextureFont", 1, 1, { LUA_OBJECT | LUA_STRING } },
- { FTFONT_NEWPIXMAP, "NewPixmapFont", 1, 1, { LUA_OBJECT | LUA_STRING } },
- { FTFONT_NEWBITMAP, "NewBitmapFont", 1, 1, { LUA_OBJECT | LUA_STRING } },
+ { FTFONT_NEWEXTRD, "NewExtrdFont", 1, 1, { BLUA_OBJECT | BLUA_STRING } },
+ { FTFONT_NEWOUTLINE, "NewOutlineFont", 1, 1, { BLUA_OBJECT | BLUA_STRING } },
+ { FTFONT_NEWPOLYGON, "NewPolygonFont", 1, 1, { BLUA_OBJECT | BLUA_STRING } },
+ { FTFONT_NEWTEXTURE, "NewTextureFont", 1, 1, { BLUA_OBJECT | BLUA_STRING } },
+ { FTFONT_NEWPIXMAP, "NewPixmapFont", 1, 1, { BLUA_OBJECT | BLUA_STRING } },
+ { FTFONT_NEWBITMAP, "NewBitmapFont", 1, 1, { BLUA_OBJECT | BLUA_STRING } },
{ -1, 0, 0, 0, 0 }
};