Changes in tests/avltree/avl2.cfa [fd54fef:107b01a]
- File:
-
- 1 edited
-
tests/avltree/avl2.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/avltree/avl2.cfa
rfd54fef r107b01a 2 2 #include "avl-private.h" 3 3 4 forall( K | Comparable(K),V)4 forall(otype K | Comparable(K), otype V) 5 5 V * find(tree(K, V) * t, K key){ 6 6 if (empty(t)){ … … 18 18 } 19 19 20 forall( K | Comparable(K),V)20 forall(otype K | Comparable(K), otype V) 21 21 int empty(tree(K, V) * t){ 22 22 return t == NULL; … … 24 24 25 25 // returns the root of the tree 26 forall( K | Comparable(K),V)26 forall(otype K | Comparable(K), otype V) 27 27 int insert(tree(K, V) ** t, K key, V value) { 28 28 // handles a non-empty tree
Note:
See TracChangeset
for help on using the changeset viewer.