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

Function proj_context_errno_set

ThirdParty/libproj/vtklibproj/src/internal.cpp:401–412  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

399
400/*****************************************************************************/
401void proj_context_errno_set (PJ_CONTEXT *ctx, int err) {
402/******************************************************************************
403Raise an error directly on a context, without going through a PJ belonging
404to that context.
405******************************************************************************/
406 if (nullptr==ctx)
407 ctx = pj_get_default_ctx();
408 ctx->last_errno = err;
409 if( err == 0 )
410 return;
411 errno = err;
412}

Callers 15

openMethod · 0.85
valueAtMethod · 0.85
pj_generic_grid_initFunction · 0.85
getListOfGridSetsFunction · 0.85
pj_hgrid_applyFunction · 0.85
pj_hgrid_valueFunction · 0.85
read_vgrid_valueFunction · 0.85
pj_vgrid_initFunction · 0.85
pj_paramFunction · 0.85
pj_generic_inverse_2dFunction · 0.85
openMethod · 0.85

Calls 1

pj_get_default_ctxFunction · 0.85

Tested by

no test coverage detected