Mercurial > pidgin.yaz
changeset 21920:76d025660d9e
Export purple_*_version in version.h.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sat, 22 Dec 2007 11:40:34 +0000 |
parents | 64aeaed21477 |
children | cf17e6871edc 5bf38e411fda |
files | ChangeLog.API libpurple/version.h.in |
diffstat | 2 files changed, 31 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog.API Sat Dec 22 11:36:01 2007 +0000 +++ b/ChangeLog.API Sat Dec 22 11:40:34 2007 +0000 @@ -5,6 +5,9 @@ Added: * purple_certificate_add_ca_search_path. (Florian Quèze) * purple_gai_strerror. + * purple_major_version, purple_minor_version, + purple_micro_version variables are exported by version.h, + giving the version of libpurple in use at runtime. Pidgin: Added:
--- a/libpurple/version.h.in Sat Dec 22 11:36:01 2007 +0000 +++ b/libpurple/version.h.in Sat Dec 22 11:40:34 2007 +0000 @@ -49,6 +49,34 @@ */ const char *purple_version_check(guint required_major, guint required_minor, guint required_micro); +/** + * The major version of the running libpurple. Contrast with + * #PURPLE_MAJOR_VERSION, which expands at compile time to the major version of + * libpurple being compiled against. + * + * @since 2.4.0 + */ +extern const guint purple_major_version; + +/** + * The minor version of the running libpurple. Contrast with + * #PURPLE_MINOR_VERSION, which expands at compile time to the minor version of + * libpurple being compiled against. + * + * @since 2.4.0 + */ +extern const guint purple_minor_version; + +/** + * + * The micro version of the running libpurple. Contrast with + * #PURPLE_MICRO_VERSION, which expands at compile time to the micro version of + * libpurple being compiled against. + * + * @since 2.4.0 + */ +extern const guint purple_micro_version; + #ifdef __cplusplus } #endif