Changes in tests/avltree/avl4.cfa [107b01a:fd54fef]
- File:
-
- 1 edited
-
tests/avltree/avl4.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/avltree/avl4.cfa
r107b01a rfd54fef 4 4 // Perform a shallow copy of src, return the 5 5 // new tree in ret 6 forall( otype K | Comparable(K), otypeV)6 forall(K | Comparable(K), V) 7 7 int copy(tree(K, V) * src, tree(K, V) ** ret){ 8 8 tree(K, V) * helper(tree(K, V) * t, int * worked){ … … 35 35 36 36 // Apply func to every value element in t, using an in order traversal 37 forall( otype K | Comparable(K), otypeV)37 forall(K | Comparable(K), V) 38 38 void for_each(tree(K, V) * t, int (*func)(V)) { 39 39 if (t == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.