aboutsummaryrefslogtreecommitdiff
path: root/src/deriv.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/deriv.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/deriv.cpp')
-rw-r--r--src/deriv.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/deriv.cpp b/src/deriv.cpp
index 0e285265..bc7fa19e 100644
--- a/src/deriv.cpp
+++ b/src/deriv.cpp
@@ -3,10 +3,11 @@
#include <math.h>
-#include "projects.h"
+#include "proj.h"
+#include "proj_internal.h"
-int pj_deriv(LP lp, double h, const PJ *P, struct DERIVS *der) {
- XY t;
+int pj_deriv(PJ_LP lp, double h, const PJ *P, struct DERIVS *der) {
+ PJ_XY t;
/* get rid of constness until we can do it for real */
PJ *Q = (PJ *) P;
if (nullptr==Q->fwd)