From 1b1d60e83a20412aeca3e440705df820979af03b Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 26 Dec 2018 14:22:34 +0100 Subject: projects.h: remove deprecated XY, XYZ, LP, LPZ, UV, UVW, projUV and projUVW structures --- src/inv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inv.cpp') diff --git a/src/inv.cpp b/src/inv.cpp index ba7e6722..8ce5dfcd 100644 --- a/src/inv.cpp +++ b/src/inv.cpp @@ -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; -- cgit v1.2.3 From 8ab6f683cd316acf57bb89ed83932a267c5aa3c2 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 26 Dec 2018 14:58:26 +0100 Subject: Merge projects.h into proj_internal.h --- src/inv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inv.cpp') diff --git a/src/inv.cpp b/src/inv.cpp index 8ce5dfcd..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 -- cgit v1.2.3