- File:
-
- 1 edited
-
doc/papers/general/evaluation/c-stack.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/papers/general/evaluation/c-stack.c
rfb2ce27 r604e76d 13 13 for ( struct stack_node* next = t->head; next; next = next->next ) { 14 14 *crnt = malloc(sizeof(struct stack_node)); /***/ 15 (*crnt)->value = copy(next->value);15 **crnt = (struct stack_node){ copy(next->value) }; /***/ 16 16 crnt = &(*crnt)->next; 17 17 } 18 *crnt = NULL;18 *crnt = 0; 19 19 } 20 20
Note:
See TracChangeset
for help on using the changeset viewer.