]> git.proxmox.com Git - libgit2.git/commit
Wrap iconv stuff and write tests
authorRussell Belfer <rb@github.com>
Wed, 2 Oct 2013 19:06:26 +0000 (12:06 -0700)
committerRussell Belfer <rb@github.com>
Thu, 3 Oct 2013 17:44:13 +0000 (10:44 -0700)
commit618b7689e1cdd4ebd956949a95038fd49592a187
tree6b1aee028a047fa12c6720758379052f69fc6db0
parentd0849f830f494445e4ef9f04d32be1a2d10b89b3
Wrap iconv stuff and write tests

This adds a simple wrapper around the iconv APIs and uses it
instead of the old code that was inlining the iconv stuff.  This
makes it possible for me to test the iconv logic in isolation.
A "no iconv" version of the API was defined with macros so that
I could have fewer ifdefs in the code itself.
src/path.c
src/path.h
tests-clar/core/iconv.c [new file with mode: 0644]
tests-clar/core/path.c