+2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst/gst.c: (gst_version):
+ * gst/gstversion.h.in:
+ add the nano
+
2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstevent.h:
* @major: pointer to a guint to store the major version number
* @minor: pointer to a guint to store the minor version number
* @micro: pointer to a guint to store the micro version number
+ * @nano: pointer to a guint to store the nano version number
*
* Gets the version number of the GStreamer library.
*/
void
-gst_version (guint * major, guint * minor, guint * micro)
+gst_version (guint * major, guint * minor, guint * micro, guint * nano)
{
g_return_if_fail (major);
g_return_if_fail (minor);
g_return_if_fail (micro);
+ g_return_if_fail (nano);
*major = GST_VERSION_MAJOR;
*minor = GST_VERSION_MINOR;
*micro = GST_VERSION_MICRO;
+ *nano = GST_VERSION_NANO;
}
* Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer
* runtime checks if these plugin and core version match and refuses to use a
* plugin compiled against a different version of GStreamer.
- * You can also use the macros to keep the GStreamer version information in your
- * application.
+ * You can also use the macros to keep the GStreamer version information in
+ * your application.
*
- * Use the gst_version() function if you want to know which version of
+ * Use the gst_version() function if you want to know which version of
* GStreamer you are currently linked against.
*
* The version macros get defined by including "gst/gst.h".
* The micro version of GStreamer at compile time:
*/
#define GST_VERSION_MICRO (@GST_VERSION_MICRO@)
+/**
+ * GST_VERSION_NANO:
+ *
+ * The nano version of GStreamer at compile time:
+ * Actual releases have 0, CVS versions have 1, prerelease versions have 2-...
+ */
+#define GST_VERSION_NANO (@GST_VERSION_NANO@)
-void gst_version (guint *major, guint *minor, guint *micro);
+void gst_version (guint *major, guint *minor, guint *micro, guint *nano);
G_END_DECLS