[geos-devel] Splitting _r and non _r functions in 2 different .h ?

Paul Ramsey pramsey at cleverelephant.ca
Wed Jun 18 08:17:36 PDT 2014


On Wed, Jun 18, 2014 at 3:24 AM, Even Rouault
<even.rouault at mines-paris.org> wrote:
> Thinking more about this, for the sake of simplicity of user code of GEOS, I'd
> rather suggest
>
> geos.c.h:
>
> #ifndef USE_ONLY_GEOS_R_API
> Here go normal declarations (non XXXXX_r symbols)
> #endif
>

I like this more. Backwards compatibility++.
Why is having them split out important for you, out of curiousity?
P.


More information about the geos-devel mailing list