Changeset 3b0edaa
- Timestamp:
- Mar 7, 2010, 10:25:54 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- bbd74a9
- Parents:
- 40d22cf
- git-author:
- Anders Kaseorg <andersk@mit.edu> (02/27/10 20:12:00)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (03/07/10 22:25:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r1672650 r3b0edaa 529 529 void owl_variable_dict_add_variable(owl_vardict * vardict, 530 530 owl_variable * var) { 531 owl_dict_insert_element(vardict, var->name, var, (void (*)(void*))owl_variable_free);531 owl_dict_insert_element(vardict, var->name, var, (void (*)(void *))owl_variable_delete); 532 532 } 533 533 … … 611 611 612 612 void owl_variable_dict_free(owl_vardict *d) { 613 owl_dict_free_all(d, (void (*)(void*))owl_variable_free);613 owl_dict_free_all(d, (void (*)(void *))owl_variable_delete); 614 614 } 615 615 … … 623 623 } 624 624 625 void owl_variable_free(owl_variable *v) { 625 void owl_variable_delete(owl_variable *v) 626 { 626 627 if (v->free_fn) v->free_fn(v); 627 628 owl_free(v);
Note: See TracChangeset
for help on using the changeset viewer.