Changeset 52cc7a4 in git for kernel/structs.h
- Timestamp:
- Aug 18, 2008, 2:26:02 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6d898347af76d4482a05fd199bfbad769f001a03
- Parents:
- da2fc8d3786d00597bd91e3c2d5c1488846cb301
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/structs.h
rda2fc8 r52cc7a4 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: structs.h,v 1.5 4 2008-08-18 10:39:57Singular Exp $ */6 /* $Id: structs.h,v 1.55 2008-08-18 12:25:35 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 697 697 int ncols; 698 698 #define IDELEMS(i) ((i)->ncols) 699 inline int& idelems(void) { return ncols; }700 699 }; 701 700 … … 771 770 772 771 #if defined(__cplusplus) 773 inline int si_max(const int a, const int b) { return (a>b) ? a : b; }774 inline int si_min(const int a, const int b) { return (a<b) ? a : b; }775 inline long si_max(const long a, const long b) { return (a>b) ? a : b; }776 inline long si_min(const long a, const long b) { return (a<b) ? a : b; }772 static inline int si_max(const int a, const int b) { return (a>b) ? a : b; } 773 static inline int si_min(const int a, const int b) { return (a<b) ? a : b; } 774 static inline long si_max(const long a, const long b) { return (a>b) ? a : b; } 775 static inline long si_min(const long a, const long b) { return (a<b) ? a : b; } 777 776 #else 778 777 #define si_max(A,B) ((A) > (B) ? (A) : (B))
Note: See TracChangeset
for help on using the changeset viewer.