diff options
author | pixel <pixel> | 2007-07-27 10:08:41 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-07-27 10:08:41 +0000 |
commit | 843a14ea70938381fc61cd9054f0b30bb08c990e (patch) | |
tree | a2ebe5faccde3574aabce7fe92deee8a65c0572d /lib | |
parent | 361ffb7254647b9bfaf8f247945e226e451c513e (diff) |
Upgrading to Lua-5.1.2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/LuaFTGL.cc | 26 |
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 } }; |