MCPcopy Create free account
hub / github.com/Kitware/VTK / proj_errno_set

Function proj_errno_set

ThirdParty/libproj/vtklibproj/src/4D_api.cpp:1457–1470  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

1455
1456/*****************************************************************************/
1457int proj_errno_set (const PJ *P, int err) {
1458/******************************************************************************
1459 Set context-errno, bubble it up to the thread local errno, return err
1460******************************************************************************/
1461 /* Use proj_errno_reset to explicitly clear the error status */
1462 if (0==err)
1463 return 0;
1464
1465 /* For P==0 err goes to the default context */
1466 proj_context_errno_set (pj_get_ctx ((PJ *) P), err);
1467 errno = err;
1468
1469 return err;
1470}
1471
1472/*****************************************************************************/
1473int proj_errno_restore (const PJ *P, int err) {

Callers 15

pj_factorsFunction · 0.85
inv_prepareFunction · 0.85
inv_finalizeFunction · 0.85
pj_invFunction · 0.85
pj_inv3dFunction · 0.85
pj_inv4dFunction · 0.85
ellps_ellpsFunction · 0.85
ellps_sizeFunction · 0.85
ellps_shapeFunction · 0.85
ellps_spherificationFunction · 0.85
pj_calc_ellipsoid_paramsFunction · 0.85
proj_roundtripFunction · 0.85

Calls 2

proj_context_errno_setFunction · 0.85
pj_get_ctxFunction · 0.85

Tested by

no test coverage detected