Exemplo n.º 1
0
VariableRef VmState::getVariable(const std::string& name)
{
	auto iter = variables.find(name);
	if (iter != variables.end()) {
		return iter->second;
	}

	return VariableRef();
}
Exemplo n.º 2
0
lua_simple::VariableRef VariableRef::getVariableByKey( const mkString& key )
{
    return VariableRef(key, m_ownerContext, this);
}
Exemplo n.º 3
0
lua_simple::VariableRef LuaSimpleContext::getGlobalVariable( const char* name )
{
    return VariableRef(name, this);
}