summaryrefslogtreecommitdiff
path: root/gst/gst.defs
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2006-04-05 11:55:48 +0000
committerAndy Wingo <wingo@pobox.com>2006-04-05 11:55:48 +0000
commitb3fb726a679750b5391569ce5ecc78e21251ac32 (patch)
treeabebd6e84dca9d5411c1bb9218e8a0ce7f8fe6a8 /gst/gst.defs
parentfda4bddb99a5a782bfede818ae673ab51da99cc1 (diff)
configure.ac (PYGST_MICRO_VERSION): Doc fix.
Original commit message from CVS: 2006-04-05 Andy Wingo <wingo@pobox.com> * configure.ac (PYGST_MICRO_VERSION): Doc fix. (PYGST_NANO_VERSION): New define. * gst/__init__.py (version): Add as an alias for get_gst_version. Should use the deprecation infrastructure here. * gst/gst.defs: Add defs for the new wrapped functions. * gst/gst.override (_wrap_gst_get_pygst_version) (_wrap_gst_get_gst_version): New overrides, functions to access the gstreamer and pygst versions. The first used to be called gst_version(); we ignore gst_version now.
Diffstat (limited to 'gst/gst.defs')
-rw-r--r--gst/gst.defs9
1 files changed, 9 insertions, 0 deletions
diff --git a/gst/gst.defs b/gst/gst.defs
index 60bc174..185a7df 100644
--- a/gst/gst.defs
+++ b/gst/gst.defs
@@ -52,6 +52,15 @@
(return-type "gchar*")
)
+(define-function get_gst_version
+ (c-name "gst_get_gst_version")
+ (return-type "none")
+)
+
+(define-function get_pygst_version
+ (c-name "gst_get_pygst_version")
+ (return-type "none")
+)
;; From ../gstreamer/gst/gstbin.h