diff options
Diffstat (limited to 'pjlib/include/pj/config.h')
-rw-r--r-- | pjlib/include/pj/config.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index db557c9d..d5652578 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -905,9 +905,16 @@ PJ_BEGIN_DECL /** - * PJLIB version string. + * PJLIB version string constant. @see pj_get_version() */ -extern const char *PJ_VERSION; +PJ_DECL_DATA(const char*) PJ_VERSION; + +/** + * Get PJLIB version string. + * + * @return #PJ_VERSION constant. + */ +PJ_DECL(const char*) pj_get_version(void); /** * Dump configuration to log with verbosity equal to info(3). |