示例#1
0
void write_address( mArray& a, const Address& addr )
{
    mObject addr_obj;

    addr_obj[ "house_number" ] = addr.house_number_;
    addr_obj[ "road"         ] = addr.road_;
    addr_obj[ "town"         ] = addr.town_;
    addr_obj[ "county"       ] = addr.county_;
    addr_obj[ "country"      ] = addr.country_;

    a.push_back( addr_obj );
}
示例#2
0
void FakeExtVM::push(mArray& a, u256 _v)
{
	a.push_back(toString(_v));
}