Ben Reser wrote on Fri, Jun 14, 2013 at 13:21:13 +0200: > I propose we stop hiding APIs based on platform. APIs that return an > svn_error_t should return a new NOT_IMPLEMENTED error code. APIs that > do not (as is the case with the auth APIs in this case) should provide > some appropriate noop behavior. In the case of > svn_auth_get_*_provider APIs should return a noop provider (which at > current we don't have) but shouldn't be hard to provide. > > This will allow us to provide generated SWIG bindings that work across > the various Unix platforms.
Would it suffice to change the header file conditions from #if defined(DARWIN) || defined(DOXYGEN) to #if defined(DARWIN) || defined(DOXYGEN) || defined(SWIG) ?