From 68cd5e7bed04c264f31283189b1ab84abcdbf5b6 Mon Sep 17 00:00:00 2001 From: Charles Karney Date: Sun, 6 Mar 2016 14:19:24 -0500 Subject: Document a (the?) convention for PJ_VERSION for versions 4.10 and up. --- src/proj_api.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src') 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 */ -- cgit v1.2.3