aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Karney <ckarney@karney.com>2016-03-06 14:19:24 -0500
committerCharles Karney <ckarney@karney.com>2016-03-06 14:19:24 -0500
commit68cd5e7bed04c264f31283189b1ab84abcdbf5b6 (patch)
tree03e6c853b38015e9292debdc4492526997a30959 /src
parent56a7dc4a74f36e2aa968481bf963a239e4f21709 (diff)
downloadPROJ-68cd5e7bed04c264f31283189b1ab84abcdbf5b6.tar.gz
PROJ-68cd5e7bed04c264f31283189b1ab84abcdbf5b6.zip
Document a (the?) convention for PJ_VERSION for versions 4.10 and up.
Diffstat (limited to 'src')
-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 */