That can just be a Ptr{Cvoid} that is initialized to C_NULL. But I'm not sure if it will cause allocations.
The idea is that if people do want to use Proj or GEOS or other reentrant C libraries in random threaded situations, at least this will make sure they can pass context and do it safely.
That can just be a
Ptr{Cvoid}that is initialized toC_NULL. But I'm not sure if it will cause allocations.The idea is that if people do want to use Proj or GEOS or other reentrant C libraries in random threaded situations, at least this will make sure they can pass context and do it safely.