int LuaScriptUtilities::PushRealAttribute(
    lua_State* const luaVM,
    const Ogre::Real real,
    const Ogre::String attributeName,
    const int tableIndex)
{
    PushString(luaVM, attributeName);
    PushReal(luaVM, real);
    lua_settable(luaVM, tableIndex);
    return 1;
}
示例#2
0
文件: parse.c 项目: MattWherry/yorick
CodeBlock YpImaginary(double d)
{ return PushReal(d, &PushImaginary); }
示例#3
0
文件: parse.c 项目: MattWherry/yorick
CodeBlock YpDouble(double d)
{ return PushReal(d, &PushDouble); }
示例#4
0
文件: parse.c 项目: MattWherry/yorick
CodeBlock YpFloat(double f)
{ return PushReal(f, &PushFloat); }