Changeset ea11dc in git for kernel/structs.h


Ignore:
Timestamp:
Feb 16, 2011, 3:51:13 PM (13 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
1628d3bf1aeaf963c1526ddb08897203dc352ddd
Parents:
6131742d9c3d9355ca824df2aada696af30a31fd
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-02-16 15:51:13+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:59:28+01:00
Message:
fixed longrat.{cc,h}
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/structs.h

    r613174 rea11dc  
    642642#endif
    643643
    644 #if defined(__cplusplus)
    645 static inline int si_max(const int a, const int b)  { return (a>b) ? a : b; }
    646 static inline int si_min(const int a, const int b)  { return (a<b) ? a : b; }
    647 static inline long si_max(const long a, const long b)  { return (a>b) ? a : b; }
    648 static inline unsigned long si_max(const unsigned long a, const unsigned long b)  { return (a>b) ? a : b; }
    649 static inline long si_min(const long a, const long b)  { return (a<b) ? a : b; }
    650 static inline unsigned long si_min(const unsigned long a, const unsigned long b)  { return (a<b) ? a : b; }
    651 #else
    652 #define si_max(A,B) ((A) > (B) ? (A) : (B))
    653 #define si_min(A,B) ((A) < (B) ? (A) : (B))
    654 #endif
    655 
    656644extern omBin char_ptr_bin;
    657645extern omBin sleftv_bin;
Note: See TracChangeset for help on using the changeset viewer.