Changeset 3b0edaa


Ignore:
Timestamp:
Mar 7, 2010, 10:25:54 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
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)
Message:
Rename owl_variable_free to owl_variable_delete.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r1672650 r3b0edaa  
    529529void owl_variable_dict_add_variable(owl_vardict * vardict,
    530530                                    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);
    532532}
    533533
     
    611611
    612612void 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);
    614614}
    615615
     
    623623}
    624624
    625 void owl_variable_free(owl_variable *v) {
     625void owl_variable_delete(owl_variable *v)
     626{
    626627  if (v->free_fn) v->free_fn(v);
    627628  owl_free(v);
Note: See TracChangeset for help on using the changeset viewer.