Commit Graph

8 Commits

Author SHA1 Message Date
Carlos Martín Nieto fc0a2f56e8 Lock the thread so we can get the error message 2014-02-26 10:37:02 +01:00
Carlos Martín Nieto af2446b1da Add iterators and ConfigEntry 2014-02-26 10:37:01 +01:00
Carlos Martín Nieto 129105d410 Add a few more missing config functions 2014-02-26 10:36:35 +01:00
Carlos Martín Nieto fbd8698002 Add a few missing config setters and getters 2014-02-26 10:30:15 +01:00
Carlos Martín Nieto a40bdfd420 Lock the OS thread when acessing errors
The library stores error information in thread-local storage, which
means we need to make sure that the Go runtime doesn't switch OS
threads between the time we call a function and th time we attempt to
retrieve the error information.
2013-12-18 16:18:32 +01:00
Artiom Di 5e30c192e9 Fix memleak for Config and parent commit objects 2013-11-14 15:24:43 +02:00
Carlos Martín Nieto a5ad8de506 Don't repeat the pkg-config line
This is only needed once per package. Having it on every file makes the
build system ask about it n times, which is silly.
2013-11-14 00:23:04 +01:00
Vicent Marti b1d50b70ea Initial commit 2013-03-05 20:53:04 +01:00