[rhythmbox] python: add rb_sanitize_uri_for_filesystem and rb_uri_create_parent_dirs



commit 38a0336ae087ee1c32dbd3617f91679a65be7109
Author: Jonathan Matthew <jonathan d14n org>
Date:   Wed Feb 10 23:21:52 2010 +1000

    python: add rb_sanitize_uri_for_filesystem and rb_uri_create_parent_dirs

 bindings/python/rb.defs |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/bindings/python/rb.defs b/bindings/python/rb.defs
index bdf3062..d80ce91 100644
--- a/bindings/python/rb.defs
+++ b/bindings/python/rb.defs
@@ -2601,6 +2601,25 @@
   )
 )
 
+(define-function sanitize_uri_for_filesystem
+  (in-module "rb")
+  (c-name "rb_sanitize_uri_for_filesystem")
+  (return-type "char*")
+  (parameters
+    '("const-char*" "uri")
+  )
+)
+
+(define-function uri_create_parent_dirs
+  (in-module "rb")
+  (c-name "rb_uri_create_parent_dirs")
+  (return-type "gboolean")
+  (parameters
+    '("const-char*" "uri")
+    '("GError**" "error")
+  )
+)
+
 ;; From rb-source-search.h
 
 (define-function rb_source_search_get_type



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]