/
| 1444 | |
| 1445 | /*****************************************************************************/ |
| 1446 | int proj_context_errno (PJ_CONTEXT *ctx) { |
| 1447 | /****************************************************************************** |
| 1448 | Read an error directly from a context, without going through a PJ |
| 1449 | belonging to that context. |
| 1450 | ******************************************************************************/ |
| 1451 | if (nullptr==ctx) |
| 1452 | ctx = pj_get_default_ctx(); |
| 1453 | return ctx->last_errno; |
| 1454 | } |
| 1455 | |
| 1456 | /*****************************************************************************/ |
| 1457 | int proj_errno_set (const PJ *P, int err) { |
no test coverage detected