aboutsummaryrefslogtreecommitdiff
path: root/src/projects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/projects.h')
-rw-r--r--src/projects.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/projects.h b/src/projects.h
index 3106eb76..2b638e94 100644
--- a/src/projects.h
+++ b/src/projects.h
@@ -229,7 +229,7 @@ typedef struct ARG_list {
#ifdef PJ_LIB__
/* we need this forward declaration in order to be able to add a
pointer to struct opaque to the typedef struct PJconsts below */
- struct opaque;
+ struct pj_opaque;
#endif
typedef struct PJconsts {
@@ -290,7 +290,7 @@ typedef struct PJconsts {
double last_after_date;
#ifdef PJ_LIB__
- struct opaque *opaq;
+ struct pj_opaque *opaque;
#endif
#ifdef PROJ_PARMS__
@@ -381,6 +381,24 @@ PJ *pj_projection_specific_setup_##name (PJ *P)
#endif
+int pj_generic_selftest (
+ char *e_args,
+ char *s_args,
+ double tolerance_xy,
+ double tolerance_lp,
+ int n_fwd,
+ int n_inv,
+ LP *fwd_in,
+ XY *e_fwd_expect,
+ XY *s_fwd_expect,
+ XY *inv_in,
+ LP *e_inv_expect,
+ LP *s_inv_expect
+);
+
+
+
+
#define MAX_TAB_ID 80
typedef struct { float lam, phi; } FLP;
typedef struct { int lam, phi; } ILP;