aboutsummaryrefslogtreecommitdiff
path: root/src/projects.h
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-10-25 10:39:56 +0200
committerGitHub <noreply@github.com>2017-10-25 10:39:56 +0200
commita3fa749bc4f378d005c9e3fd809c0be25de5ffb2 (patch)
treedadf4aa7d1bf3e88478375f2d6d4e3d72eb60549 /src/projects.h
parent2ad201bdb0f3408eed0aab07fe255c6ff1cd3249 (diff)
downloadPROJ-a3fa749bc4f378d005c9e3fd809c0be25de5ffb2.tar.gz
PROJ-a3fa749bc4f378d005c9e3fd809c0be25de5ffb2.zip
Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c (#625)
* Remove PJ_OBS from the API surface, rename pj_obs_api.c to pj_4D_api.c * Repair proj.def
Diffstat (limited to 'src/projects.h')
-rw-r--r--src/projects.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/projects.h b/src/projects.h
index cbb980ca..b9d88cf3 100644
--- a/src/projects.h
+++ b/src/projects.h
@@ -174,6 +174,9 @@ typedef struct { double u, v, w; } UVW;
/* Forward declarations and typedefs for stuff needed inside the PJ object */
struct PJconsts;
struct PJ_OBS;
+#ifndef PROJ_INTERNAL_H
+typedef struct PJ_OBS PJ_OBS;
+#endif
union PJ_COORD;
struct geod_geodesic;
struct pj_opaque;
@@ -189,7 +192,6 @@ enum pj_io_units {
};
#ifndef PROJ_H
typedef struct PJconsts PJ; /* the PJ object herself */
-typedef struct PJ_OBS PJ_OBS;
typedef union PJ_COORD PJ_COORD;
#endif
@@ -259,7 +261,7 @@ struct PJconsts {
void (*spc)(LP, PJ *, struct FACTORS *);
void *(*destructor)(PJ *, int);
-
+
/*************************************************************************************