Move P to a new context - or to the default context if 0 is specified */
| 137 | |
| 138 | /* Move P to a new context - or to the default context if 0 is specified */ |
| 139 | void 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 | |
| 145 | void proj_context_inherit(PJ *parent, PJ *child) { |
| 146 | if (nullptr == parent) |