Changeset c2a4b62
- Timestamp:
- May 8, 2024, 11:35:15 AM (7 months ago)
- Branches:
- master
- Children:
- 0843ba6
- Parents:
- 983f486
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.hfa
r983f486 rc2a4b62 23 23 T valueE(E e); 24 24 }; 25 26 forall(E | TypedEnum(E, T)) { 27 // comparison 28 int ?==?(E l, E r); 29 int ?!=?(E l, E r); 30 int ?!=?(E l, zero_t); 31 int ?<?(E l, E r); 32 int ?<=?(E l, E r); 33 int ?>?(E l, E r); 34 int ?>=?(E l, E r); 35 36 // for testing; To be removed 37 // char * typeEnumString(E e); 38 char * typeEnumString(E e); 39 } 25 40 } 26 41 27 forall(E, T| TypedEnum(E, T)) {28 // comparison29 int ?==?(E l, E r);30 int ?!=?(E l, E r);31 int ?!=?(E l, zero_t);32 int ?<?(E l, E r);33 int ?<=?(E l, E r);34 int ?>?(E l, E r);35 int ?>=?(E l, E r);36 37 // for testing; To be removed38 // char * typeEnumString(E e);39 char * typeEnumString(E e);40 }
Note: See TracChangeset
for help on using the changeset viewer.