From e09e24eddbd49cd802ac1334f229f1698ea0b755 Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Fri, 7 Jul 2017 17:14:28 +0200 Subject: obs_api revision and improvements: new namespace etc. (#530) * obs_api revision and improvements: new namespace etc. * Minor corrections: use unused functions, add missing prototype, added fwd/invcoord to PJ * Minor correction: MSVC barfs on va_arg type specification. Trying once more with added parens * Reverting paren correction, which appears to be a non-solution * Significant improvements to the OBS_API, plus a number of corrections, mostly in test code, to reflect API changes * Added two missing prototypes * Adding the proj_transform function and some related checks * Improvements to proj_transform etc. based on suggestions from Even Rouault * Reducing the libc include footprint of proj.h - again based on suggestions from Even Rouault * A few minor corrections * Eliminate a MSVC warning about non-initialized usage. Not an actual issue, as another check has locked the path, but at least this should calm down MSVC * Improved support for the errno reset/restore paradigm * Introduced the internal header proj_internal.h; Moved most non-API stuff from pj_obs_api.c to pj_internal.c * Adding proj_internal.h to HEADERS_LIBPROJ to solve build problems * Correcting a few pj...proj blunders in PJ_pipeline.c * Correcting a few additional blunders in PJ_pipeline.c * Changed angle-brackets to quotation marks in includes of proj_internal.h * Some minor build system repairs * Some PJ_CONTEXT usage simplifications following suggestions by Kristian Evers @kbevers * Added version numbering to proj.h - Fixes #529 * remove proj_errno_restore macro, provide function implementation * Add proj_get_definition. Fixes #538 * Added library specific deallocator proj_buffer_free, eliminating a potential cross heap issues on Windows. Thx to Even Rouault for spotting this * Got rid of a meaningless cast in proj_buffer_free * Added some missing functions to proj.def (again spotted by @rouault); removed some not-yet-implemented material from proj.h * Renamed proj_get_definition/proj_buffer_free to proj_definition_create/proj_definition_destroy, for symmetry and clarity * Renaming the definition handlers to proj_definition_retrieve / proj_free * Renaming proj_free to proj_release --- src/proj.def | 60 ++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 18 deletions(-) (limited to 'src/proj.def') diff --git a/src/proj.def b/src/proj.def index 3792d3c0..314c4385 100644 --- a/src/proj.def +++ b/src/proj.def @@ -89,21 +89,45 @@ EXPORTS geod_polygon_testpoint @87 geod_polygon_clear @88 pj_run_selftests @89 - pj_create @90 - pj_create_argv @91 - pj_trans @92 - pj_roundtrip @95 - pj_log_level @96 - pj_err_level @97 - pj_log_func @98 - pj_context_renew @99 - pj_context_inherit @100 - pj_context_free @101 - pj_fileapi_set @102 - pj_log_error @103 - pj_log_debug @104 - pj_log_trace @105 - pj_lp_dist @106 - pj_xy_dist @107 - pj_xyz_dist @108 - pj_find_file @109 + + proj_create @90 + proj_create_argv @91 + proj_destroy @92 + + proj_trans_obs @93 + proj_trans_coord @94 + proj_transform @95 + proj_roundtrip @96 + + proj_coord @97 + proj_coord_error @98 + proj_obs_error @99 + + proj_errno @100 + proj_errno_set @101 + proj_errno_reset @102 + proj_errno_restore @103 + proj_context_errno_set @104 + + proj_context_create @105 + proj_context_set @106 + proj_context_inherit @107 + proj_context_destroy @108 + + proj_lp_dist @109 + proj_xy_dist @110 + proj_xyz_dist @111 + + proj_log_level @112 + proj_log_func @113 + proj_log_error @114 + proj_log_debug @115 + proj_log_trace @116 + + proj_definition_retrieve @117 + proj_release @118 + proj_torad @119 + proj_todeg @120 + + + pj_find_file @121 -- cgit v1.2.3