On Mon, Jul 30, 2012 at 8:40 PM, Cosmin Apreutesei <cosmin.apreutesei@xxxxxxxxx> wrote: >>> This sounds like a dodgy way to do it, would you not be better off >>> parsing cairo's config.h for enabled backend defines? > > Not sure how parsing a header file can constitute a simpler solution > than my 3 line function. Besides, I don't wan to carry around a header > file, and also I don't see a reason why a ffi binding should not work > with different variations of a certain library automatically, without > extra burdens on the user. > Yeah you're right, bit of a brain fart there.