diff options
Diffstat (limited to 'src/object.nobj.lua')
-rw-r--r-- | src/object.nobj.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.nobj.lua b/src/object.nobj.lua index 54baa1d..30658bf 100644 --- a/src/object.nobj.lua +++ b/src/object.nobj.lua @@ -33,8 +33,8 @@ typedef git_object Object; GIT_OBJ_TAG = "Tag", }, }, - destructor "close" { - c_method_call "void" "git_object_close" {} + destructor "free" { + c_method_call "void" "git_object_free" {} }, method "id" { c_method_call { "OID", "*id" } "git_object_id" {}, |