Changes in tests/avltree/avl2.cfa [107b01a:fd54fef]
- File:
-
- 1 edited
-
tests/avltree/avl2.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/avltree/avl2.cfa
r107b01a rfd54fef 2 2 #include "avl-private.h" 3 3 4 forall( otype K | Comparable(K), otypeV)4 forall(K | Comparable(K), V) 5 5 V * find(tree(K, V) * t, K key){ 6 6 if (empty(t)){ … … 18 18 } 19 19 20 forall( otype K | Comparable(K), otypeV)20 forall(K | Comparable(K), 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( otype K | Comparable(K), otypeV)26 forall(K | Comparable(K), 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.