コード例 #1
0
ファイル: vmstate.cpp プロジェクト: btdavis/compiler-project
VariableRef VmState::getVariable(const std::string& name)
{
	auto iter = variables.find(name);
	if (iter != variables.end()) {
		return iter->second;
	}

	return VariableRef();
}
コード例 #2
0
lua_simple::VariableRef VariableRef::getVariableByKey( const mkString& key )
{
    return VariableRef(key, m_ownerContext, this);
}
コード例 #3
0
lua_simple::VariableRef LuaSimpleContext::getGlobalVariable( const char* name )
{
    return VariableRef(name, this);
}