MCPcopy Create free account
hub / github.com/OSGeo/PROJ / proj_context_set

Function proj_context_set

src/internal.cpp:139–143  ·  view source on GitHub ↗

Move P to a new context - or to the default context if 0 is specified */

Source from the content-addressed store, hash-verified

137
138/* Move P to a new context - or to the default context if 0 is specified */
139void proj_context_set(PJ *P, PJ_CONTEXT *ctx) {
140 if (nullptr == ctx)
141 ctx = pj_get_default_ctx();
142 proj_assign_context(P, ctx);
143}
144
145void proj_context_inherit(PJ *parent, PJ *child) {
146 if (nullptr == parent)

Callers 1

TESTFunction · 0.85

Calls 2

pj_get_default_ctxFunction · 0.85
proj_assign_contextFunction · 0.85

Tested by 1

TESTFunction · 0.68