[farsight2/master] Add functions to get/remove codec prefs to python bindings (even though they're not bindable)
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:23:27 PST 2008
---
python/pyfarsight.defs | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/python/pyfarsight.defs b/python/pyfarsight.defs
index 34ef27a..4a7dca8 100644
--- a/python/pyfarsight.defs
+++ b/python/pyfarsight.defs
@@ -144,6 +144,25 @@
)
)
+(define-method remove_optional_parameter
+ (of-object "FsCodec")
+ (c-name "fs_codec_remove_optional_parameter")
+ (return-type "none")
+ (parameters
+ '("FsCodecParameter*" "param")
+ )
+)
+
+(define-method get_optional_parameter
+ (of-object "FsCodec")
+ (c-name "fs_codec_get_optional_parameter")
+ (return-type "FsCodecParameter*")
+ (parameters
+ '("gchar*" "name")
+ '("gchar*" "value")
+ )
+)
+
;; -*- scheme -*-
; object definitions ...
--
1.5.6.5
More information about the farsight-commits
mailing list