im.pidgin.pidgin: 10d3d59c0380562be84f687ad42dba6f7e3b8f44

resiak at soc.pidgin.im resiak at soc.pidgin.im
Sat Dec 22 07:05:47 EST 2007


-----------------------------------------------------------------
Revision: 10d3d59c0380562be84f687ad42dba6f7e3b8f44
Ancestor: 455096c324b224614bcdace253d5d19be9c14f3d
Author: resiak at soc.pidgin.im
Date: 2007-12-22T11:40:34
Branch: im.pidgin.pidgin

Modified files:
        ChangeLog.API libpurple/version.h.in

ChangeLog: 

Export purple_*_version in version.h.

-------------- next part --------------
============================================================
--- ChangeLog.API	5a6501e2d6cf7315e127dfceb4591eb6a0f13b03
+++ ChangeLog.API	c6e4a44408dd86cfd6b5862214f98650de372d34
@@ -5,6 +5,9 @@ version 2.4.0 (??/??/????):
 		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:
============================================================
--- libpurple/version.h.in	f1f8b69f519386a187be2d38beee61d8463d8b68
+++ libpurple/version.h.in	4a730e580df7c0382ed6f7c24aa85d55f67537b8
@@ -49,6 +49,34 @@ const char *purple_version_check(guint r
  */
 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


More information about the Commits mailing list