From 938205e1daeef90b1d2f6043ee4e386a23e987fe Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 9 Jan 2006 11:42:25 +0000 Subject: [PATCH] gst/base.defs: Revert guint8* to gchar* modifications for the adapter Original commit message from CVS: * gst/base.defs: Revert guint8* to gchar* modifications for the adapter * gst/gst.defs: Cleanups and API additions --- ChangeLog | 7 +++++++ gst/base.defs | 4 ++-- gst/gst.defs | 11 ++++++----- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a40272..58553e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-01-09 Edward Hervey + + * gst/base.defs: + Revert guint8* to gchar* modifications for the adapter + * gst/gst.defs: + Cleanups and API additions + 2006-01-08 Martin Soto * gst/gststructure.override: (_wrap_gst_structure_set_value): diff --git a/gst/base.defs b/gst/base.defs index af695f2..4ee188e 100644 --- a/gst/base.defs +++ b/gst/base.defs @@ -81,7 +81,7 @@ (define-method peek (of-object "GstAdapter") (c-name "gst_adapter_peek") - (return-type "const-gchar*") + (return-type "const-guint8*") (parameters '("guint" "size") ) @@ -99,7 +99,7 @@ (define-method take (of-object "GstAdapter") (c-name "gst_adapter_take") - (return-type "gchar*") + (return-type "guint8*") (parameters '("guint" "nbytes") ) diff --git a/gst/gst.defs b/gst/gst.defs index b6aa6be..4ea2c58 100644 --- a/gst/gst.defs +++ b/gst/gst.defs @@ -5927,6 +5927,7 @@ '("gchar**" "extensions") '("const-GstCaps*" "possible_caps") '("gpointer" "data") + '("GDestroyNotify" "data_notify") ) ) @@ -6086,16 +6087,16 @@ ) ) -(define-function gdouble_to_guint64 - (c-name "gst_gdouble_to_guint64") +(define-function util_gdouble_to_guint64 + (c-name "gst_util_gdouble_to_guint64") (return-type "guint64") (parameters '("gdouble" "value") ) ) -(define-function guint64_to_gdouble - (c-name "gst_guint64_to_gdouble") +(define-function util_guint64_to_gdouble + (c-name "gst_util_guint64_to_gdouble") (return-type "gdouble") (parameters '("guint64" "value") @@ -6112,7 +6113,7 @@ ) ) -(define-function gst_util_uint64_scale_int +(define-function util_uint64_scale_int (c-name "gst_util_uint64_scale_int") (return-type "guint64") (parameters -- 2.7.4