Changeset f41956d for variable.c


Ignore:
Timestamp:
Feb 21, 2013, 4:42:21 PM (9 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master
Children:
63d3e4e
Parents:
1a4508b
git-author:
David Benjamin <davidben@mit.edu> (06/10/12 15:09:12)
git-committer:
David Benjamin <davidben@mit.edu> (02/21/13 16:42:21)
Message:
Merge owl_variable_free and owl_variable_cleanup

We don't do the init/cleanup thing anymore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r4584d1f rf41956d  
    771771}
    772772
    773 void owl_variable_cleanup(owl_variable *v)
     773void owl_variable_delete(owl_variable *v)
    774774{
    775775  g_free(v->name);
     
    781781  g_closure_unref(v->get_tostring_fn);
    782782  g_closure_unref(v->set_fromstring_fn);
    783 }
    784 
    785 void owl_variable_delete(owl_variable *v)
    786 {
    787   owl_variable_cleanup(v);
     783
    788784  g_free(v);
    789785}
Note: See TracChangeset for help on using the changeset viewer.