aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Butler <howard@hobu.co>2016-03-06 13:36:04 -0600
committerHoward Butler <howard@hobu.co>2016-03-06 13:36:04 -0600
commit349a4287d578cecf3754b0899ce506ed2bb8d8f8 (patch)
tree374999bf7ab4755b2b88a2112765597ecd00e628
parent6ac1f5088c537173bc8d5c66d96570a1d13c0255 (diff)
parent68cd5e7bed04c264f31283189b1ab84abcdbf5b6 (diff)
downloadPROJ-349a4287d578cecf3754b0899ce506ed2bb8d8f8.tar.gz
PROJ-349a4287d578cecf3754b0899ce506ed2bb8d8f8.zip
Merge pull request #364 from cffk/proj-version
Document a (the?) convention for PJ_VERSION for versions 4.10 and up.
-rw-r--r--src/proj_api.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index db833b11..b482c0f5 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -37,7 +37,18 @@
extern "C" {
#endif
-/* Try to update this every version! */
+/*
+ * This version number should be updated with every release! The format of
+ * PJ_VERSION is
+ *
+ * * Before version 4.10.0: PJ_VERSION=MNP where M, N, and P are the major,
+ * minor, and patch numbers; e.g., PJ_VERSION=493 for version 4.9.3.
+ *
+ * * Version 4.10.0 and later: PJ_VERSION=MMMNNNPP later where MMM, NNN, PP
+ * are the major, minor, and patch numbers (the minor and patch numbers
+ * are padded with leading zeros if necessary); e.g., PJ_VERSION=401000
+ * for version 4.10.0.
+ */
#define PJ_VERSION 493
/* pj_init() and similar functions can be used with a non-C locale */