aboutsummaryrefslogtreecommitdiff
path: root/src/proj_internal.h
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-11-08 12:41:09 +0100
committerGitHub <noreply@github.com>2017-11-08 12:41:09 +0100
commit70550ae21c653cceefc2142fa89d0fb6c99101d9 (patch)
treef68fff29602e3868a7f2e8d6acb7e935d3ccecb4 /src/proj_internal.h
parent3ff9899dd4407877ace4daf2794cb759ccdbc235 (diff)
downloadPROJ-70550ae21c653cceefc2142fa89d0fb6c99101d9.tar.gz
PROJ-70550ae21c653cceefc2142fa89d0fb6c99101d9.zip
minor clean ups in and around proj_4D_api (#649)
Diffstat (limited to 'src/proj_internal.h')
-rw-r--r--src/proj_internal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h
index 2d6a2406..95f34994 100644
--- a/src/proj_internal.h
+++ b/src/proj_internal.h
@@ -55,7 +55,13 @@ extern "C" {
#define PJ_TORAD(deg) ((deg)*M_PI/180.0)
#endif
-
+/* This enum is also conditionally defined in projects.h - but we need it here */
+/* for the pj_left/right prototypes, and enums cannot be forward declared */
+enum pj_io_units {
+ PJ_IO_UNITS_CLASSIC = 0, /* Scaled meters (right) */
+ PJ_IO_UNITS_METERS = 1, /* Meters */
+ PJ_IO_UNITS_RADIANS = 2 /* Radians */
+};
enum pj_io_units pj_left (PJ *P);
enum pj_io_units pj_right (PJ *P);