diff options
| -rw-r--r-- | src/pj_errno.c | 10 | ||||
| -rw-r--r-- | src/proj.def | 2 | ||||
| -rw-r--r-- | src/proj_api.h | 4 |
3 files changed, 16 insertions, 0 deletions
diff --git a/src/pj_errno.c b/src/pj_errno.c index 4156d7e5..2eb95707 100644 --- a/src/pj_errno.c +++ b/src/pj_errno.c @@ -5,4 +5,14 @@ static const char SCCSID[]="@(#)pj_errno.c 4.3 95/06/03 GIE REL"; int pj_errno = 0; +/************************************************************************/ +/* pj_get_errno_ref() */ +/************************************************************************/ + +int *pj_get_errno_ref() + +{ + return &pj_errno; +} + /* end */ diff --git a/src/proj.def b/src/proj.def index c0ccc9fa..854fa23f 100644 --- a/src/proj.def +++ b/src/proj.def @@ -12,5 +12,7 @@ EXPORTS pj_init_plus @9 pj_latlong_from_proj @10 pj_is_latlong @11 + pj_get_errno_ref @12 + diff --git a/src/proj_api.h b/src/proj_api.h index 9c7e88fd..ce33c622 100644 --- a/src/proj_api.h +++ b/src/proj_api.h @@ -28,6 +28,9 @@ ****************************************************************************** * * $Log$ + * Revision 1.2 2001/06/02 03:35:36 warmerda + * added pj_get_errno_ref() + * * Revision 1.1 2001/04/06 01:24:22 warmerda * New * @@ -96,6 +99,7 @@ projPJ pj_latlong_from_proj( projPJ ); void *pj_malloc(size_t); void pj_dalloc(void *); char *pj_strerrno(int); +int *pj_get_errno_ref(); #ifdef __cplusplus } |
