Hi Stefan, just a comment. I spent quite some time on libgit2 bindings before giving up (at the stage where I could browse repo + do a commit) Better to avoid callbacks at all costs - fortunately there is usually an "iterative" API. Also, you must be very careful when passing in parameters, sometimes the libgit2 remembers pointers and when GC moves them, you know... I had to dig into libgit2 sources/attach GDB to find out. Have fun! Jan On 24/01/13 21:24, Stefan Marr wrote:
branches := OrderedCollection new.
cb := LG2BranchHCb161 on: [:name :type :payload | branches add: name ]. LG2BranchH uniqueInstance branch_foreach: repo list_flags: 1 branch_cb: cb payload: NBExternalAddress null.
^ { repo. branches }
So, now I am down to the question of how to use TalkFFI and NativeBoostFFI.
Any idea what that could be? And how to diagnose these things?
Thanks a lot Stefan