Commit cd4335ec authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Moved proj_*_func() to cdi.h

parent 32f8c6cc
Pipeline #5081 passed with stages
in 20 minutes and 37 seconds
...@@ -1716,19 +1716,16 @@ print_openmp_info() ...@@ -1716,19 +1716,16 @@ print_openmp_info()
} }
#endif #endif
extern "C" int (*proj_lonlat_to_lcc_func)(double, double, double, double, double, double, double, size_t, double*, double*);
extern "C" int (*proj_lcc_to_lonlat_func)(double, double, double, double, double, double, double, double, double, size_t, double*, double*);
extern "C" int (*proj_lonlat_to_stere_func)(double, double, double, double, double, size_t, double*, double*);
extern "C" int (*proj_stere_to_lonlat_func)(double, double, double, double, double, double, double, size_t, double*, double*);
static void static void
set_external_proj_func(void) set_external_proj_func(void)
{ {
#ifdef HAVE_CDI_PROJ_FUNCS
proj_lonlat_to_lcc_func = proj_lonlat_to_lcc; proj_lonlat_to_lcc_func = proj_lonlat_to_lcc;
proj_lcc_to_lonlat_func = proj_lcc_to_lonlat; proj_lcc_to_lonlat_func = proj_lcc_to_lonlat;
proj_lonlat_to_stere_func = proj_lonlat_to_stere; proj_lonlat_to_stere_func = proj_lonlat_to_stere;
proj_stere_to_lonlat_func = proj_stere_to_lonlat; proj_stere_to_lonlat_func = proj_stere_to_lonlat;
#endif
} }
const char * const char *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment