Ignore:
Timestamp:
Aug 6, 2003, 10:18:36 PM (17 years ago)
Author:
orlov
Message:
  • Added methods for comparison with long int and conversion to it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/runtime/rf_integer.hh

    r1035 r1117  
    2929
    3030  inline bool operator == (Integer const& _n) const ;
     31  inline bool operator == (intptr_t _n) const ;
    3132  inline int cmp (Integer const& _n) const ;
     33  inline int cmp (intptr_t _n) const ;
    3234
    3335  inline Integer operator + (Integer const& _n) const ;
     
    5254  inline Integer operator - () const ;
    5355  inline int sign () const ;
     56
     57  inline long to_int () const ;
    5458
    5559  inline operator pxx::WString () const ;
Note: See TracChangeset for help on using the changeset viewer.