Commit Graph

54 Commits

Author SHA1 Message Date
Vicent Marti d190d8a6b3 Take 2 on polymorphism 2013-04-16 23:04:35 +02:00
Vicent Marti 3ca8077334 Properly wrap ODB objects 2013-03-06 17:15:28 +01:00
Carlos Martín Nieto d43561fbf7 Free Git objects via finalizers or manually
Provide a manual way of freeing objects, but set finalizers for them
in case the user does not want to worry about memory management, which
would be useful for commits or trees, which sare typically small.

When the objects are freed manually, the finalizer is unset to avoid
double-freeing, mimicking what the go runtime does.
2013-03-06 01:47:53 +01:00
Vicent Marti b1d50b70ea Initial commit 2013-03-05 20:53:04 +01:00