aboutsummaryrefslogtreecommitdiff
path: root/src/inv.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2018-12-31 11:37:51 +0100
committerGitHub <noreply@github.com>2018-12-31 11:37:51 +0100
commit32f3ef47e55c38b0eabb6d781fee3944d3239414 (patch)
treeba2850500ee732559bada055dbab281ceff49a22 /src/inv.cpp
parent5c41d3a1078895ed096b416db15c91108bccad87 (diff)
parent0e0e0e475414ddeb75e0e140d8a3381a431036d9 (diff)
downloadPROJ-32f3ef47e55c38b0eabb6d781fee3944d3239414.tar.gz
PROJ-32f3ef47e55c38b0eabb6d781fee3944d3239414.zip
Merge pull request #1208 from rouault/merge_PJ_and_PJ_OBJ
Unify PJ_OBJ and PJ structures
Diffstat (limited to 'src/inv.cpp')
-rw-r--r--src/inv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inv.cpp b/src/inv.cpp
index ba7e6722..83c5498c 100644
--- a/src/inv.cpp
+++ b/src/inv.cpp
@@ -32,7 +32,7 @@
#include "proj_internal.h"
#include "proj_math.h"
-#include "projects.h"
+#include "proj_internal.h"
#define INPUT_UNITS P->right
#define OUTPUT_UNITS P->left
@@ -141,7 +141,7 @@ static PJ_COORD error_or_coord(PJ *P, PJ_COORD coord, int last_errno) {
}
-LP pj_inv(XY xy, PJ *P) {
+PJ_LP pj_inv(PJ_XY xy, PJ *P) {
int last_errno;
PJ_COORD coo = {{0,0,0,0}};
coo.xy = xy;
@@ -175,7 +175,7 @@ LP pj_inv(XY xy, PJ *P) {
-LPZ pj_inv3d (XYZ xyz, PJ *P) {
+PJ_LPZ pj_inv3d (PJ_XYZ xyz, PJ *P) {
int last_errno;
PJ_COORD coo = {{0,0,0,0}};
coo.xyz = xyz;