aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2020-11-14 22:55:31 +0100
committerKristian Evers <kristianevers@gmail.com>2020-11-20 16:40:40 +0100
commitaa46197d66ce70ece382bf955326c46b13f35864 (patch)
treee5d8335af87de784ce93c9e686f5ff323ff27936 /src/init.cpp
parente2dd223c5601b387cd622b88583e857b03e9fade (diff)
downloadPROJ-aa46197d66ce70ece382bf955326c46b13f35864.tar.gz
PROJ-aa46197d66ce70ece382bf955326c46b13f35864.zip
Weed out proj_api.h datatypes and replace them with their proj.h counterparts
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 101fc8ad..a42bf963 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -415,7 +415,7 @@ pj_init_plus( const char *definition )
}
PJ *
-pj_init_plus_ctx( projCtx ctx, const char *definition )
+pj_init_plus_ctx( PJ_CONTEXT *ctx, const char *definition )
{
#define MAX_ARG 200
char *argv[MAX_ARG];
@@ -511,7 +511,7 @@ static PJ_CONSTRUCTOR locate_constructor (const char *name) {
PJ *
-pj_init_ctx(projCtx ctx, int argc, char **argv) {
+pj_init_ctx(PJ_CONTEXT *ctx, int argc, char **argv) {
/* Legacy interface: allow init=epsg:XXXX syntax by default */
int allow_init_epsg = proj_context_get_use_proj4_init_rules(ctx, TRUE);
return pj_init_ctx_with_allow_init_epsg(ctx, argc, argv, allow_init_epsg);
@@ -519,7 +519,7 @@ pj_init_ctx(projCtx ctx, int argc, char **argv) {
PJ *
-pj_init_ctx_with_allow_init_epsg(projCtx ctx, int argc, char **argv, int allow_init_epsg) {
+pj_init_ctx_with_allow_init_epsg(PJ_CONTEXT *ctx, int argc, char **argv, int allow_init_epsg) {
const char *s;
char *name;
PJ_CONSTRUCTOR proj;