Hi! What you think about to move to the autogen over *.h solution? Look to ffmpeg and sharpDx to the reference: - https://github.com/sharpdx/SharpDX - https://github.com/Ruslan-B/FFmpeg.AutoGen Just provide slim and clean wrapper over natural libgit2