aboutsummaryrefslogtreecommitdiff
path: root/src/proj_api.h
diff options
context:
space:
mode:
authorThomas Knudsen <busstoptaktik@users.noreply.github.com>2017-11-28 18:34:02 +1300
committerGitHub <noreply@github.com>2017-11-28 18:34:02 +1300
commit1c1d04b45d76366f54e104f9346879fd48bfde8e (patch)
tree28b9812adef7549676de8bd48f8c8aa44eb7adfb /src/proj_api.h
parent8c6fe8b673c9876e7301d4a890403a931540c17c (diff)
downloadPROJ-1c1d04b45d76366f54e104f9346879fd48bfde8e.tar.gz
PROJ-1c1d04b45d76366f54e104f9346879fd48bfde8e.zip
Enable selective debug printout through negative PROJ_DEBUG values (#689)
* Enable selective debug printout through negative PROJ_DEBUG values
Diffstat (limited to 'src/proj_api.h')
-rw-r--r--src/proj_api.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index b57d9f38..50999b71 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -72,15 +72,16 @@ extern "C" {
#ifndef PROJ_H
extern char const pj_release[]; /* global release id string */
extern int pj_errno; /* global error return code */
+#endif
-/* In proj.h these macros are replaced by the enumeration pj_log_level */
+#ifndef PROJ_INTERNAL_H
+/* replaced by enum proj_log_level in proj_internal.h */
#define PJ_LOG_NONE 0
#define PJ_LOG_ERROR 1
#define PJ_LOG_DEBUG_MAJOR 2
#define PJ_LOG_DEBUG_MINOR 3
#endif
-
#ifdef PROJ_API_H_NOT_INVOKED_AS_PRIMARY_API
/* These make the function declarations below conform with classic proj */
typedef PJ *projPJ; /* projPJ is a pointer to PJ */