diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-11-17 12:54:24 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2020-11-20 16:40:40 +0100 |
| commit | a74b985b5006c2d279353a245cfcb850cf7fcc94 (patch) | |
| tree | 0f71f55671b6014893df2d0bf61804bcbbdc9c8c /src/malloc.cpp | |
| parent | 7f79fe7325a74d2a9eac93d7081a107ae54bb877 (diff) | |
| download | PROJ-a74b985b5006c2d279353a245cfcb850cf7fcc94.tar.gz PROJ-a74b985b5006c2d279353a245cfcb850cf7fcc94.zip | |
Remove pj_ctx_* functions and use their proj_context counterparts
Diffstat (limited to 'src/malloc.cpp')
| -rw-r--r-- | src/malloc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/malloc.cpp b/src/malloc.cpp index eb64023f..b1bcea1d 100644 --- a/src/malloc.cpp +++ b/src/malloc.cpp @@ -166,7 +166,7 @@ void *pj_dealloc_params (PJ_CONTEXT *ctx, paralist *start, int errlev) { n = t->next; pj_dealloc(t); } - pj_ctx_set_errno (ctx, errlev); + proj_context_errno_set (ctx, errlev); return (void *) nullptr; } @@ -218,7 +218,7 @@ PJ *pj_default_destructor (PJ *P, int errlev) { /* Destructor */ /* Note that both, in the multithreaded case, may then contain undefined */ /* values. This is expected behavior. For MT have one ctx per thread */ if (0!=errlev) - pj_ctx_set_errno (pj_get_ctx(P), errlev); + proj_context_errno_set (pj_get_ctx(P), errlev); if (nullptr==P) return nullptr; |
