Changeset d226bf


Ignore:
Timestamp:
10/10/07 03:18:45 (6 years ago)
Author:
Tiago de Paula Peixoto <tiago@…>
Children:
e663e9
Parents:
cb1e7b
git-author:
Tiago de Paula Peixoto <tiago@…> (10/10/07 03:18:45)
git-committer:
Tiago de Paula Peixoto <tiago@…> (10/10/07 03:18:45)
Message:
Internally use C++ type 'long long', instead of 'long', for properties of (graphml) type 'long'

This will increase memory usage, but guarantees, across different
platforms, that 'long' will always hold larger values than 'int'.
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/boost-workaround/boost/graph/graphml.hpp

    r929c0e rd226bf  
    182182    MutableGraph& m_g; 
    183183    dynamic_properties& m_dp; 
    184     typedef mpl::vector<bool, int, long, float, double, std::string> value_types; 
     184    typedef mpl::vector<bool, int, long long, float, double, std::string> value_types; 
    185185    static const char* m_type_names[];  
    186186}; 
  • src/graph/graph_properties.hh

    r57d3cf rd226bf  
    3636 
    3737// global property types 
    38 typedef boost::mpl::vector<bool, int, long, size_t, float, double, std::string, pos_t> value_types; 
     38typedef boost::mpl::vector<bool, int, long long, size_t, float, double, std::string, pos_t> value_types; 
    3939extern const char* type_names[]; 
    4040 
    4141// scalar types 
    42 typedef boost::mpl::vector<bool, int, long, size_t, float, double> scalar_types; 
     42typedef boost::mpl::vector<bool, int, long long, size_t, float, double> scalar_types; 
    4343extern const char* scalar_names[]; 
    4444 
Note: See TracChangeset for help on using the changeset viewer.