Sat, 22 Dec 2007 11:40:34 +0000
Export purple_*_version in version.h.
| ChangeLog.API | file | annotate | diff | comparison | revisions | |
| libpurple/version.h.in | file | annotate | diff | comparison | revisions |
--- 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