[farsight2/master] Add add_optional_param to python defs ?

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:22:30 PST 2008


---
 python/pyfarsight.defs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/python/pyfarsight.defs b/python/pyfarsight.defs
index d91152a..2d2807a 100644
--- a/python/pyfarsight.defs
+++ b/python/pyfarsight.defs
@@ -134,6 +134,16 @@
   (return-type "const-gchar*")
 )
 
+(define-method add_optional_parameter
+  (of-object "FsCodec")
+  (c-name "fs_codec_add_optional_parameter")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+    '("const-gchar*" "value")
+  )
+)
+
 
 ;; -*- scheme -*-
 ; object definitions ...
-- 
1.5.6.5




More information about the farsight-commits mailing list