As I stated in the previous comment, I don't even see why you need that header. Just make your test go through the public API and test the whole chain. It gets rid of the header, the need to static link, that extraneous param and only add one new inline function in the test ...
On Tue, Jun 17, 2014 at 5:04 PM, ☎ Max.Suraev@fairwaves.co wrote:
This version avoids polluting external API with implementation details by introducing separate noinst header.
-- best regards, Max, http://fairwaves.co