[vala] librsvg-2.0: rsvg_handle_new_from_data takes an array



commit d695188020c0db00e40f8c2fc3c9e52c7a9a3c1d
Author: Evan Nemerson <evan polussystems com>
Date:   Wed Jul 8 21:07:14 2009 -0700

    librsvg-2.0: rsvg_handle_new_from_data takes an array
    
    Fixes bug 583475.

 vapi/librsvg-2.0.vapi                          |    4 ++--
 vapi/packages/librsvg-2.0/librsvg-2.0.metadata |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/librsvg-2.0.vapi b/vapi/librsvg-2.0.vapi
index 38abe54..2a7de27 100644
--- a/vapi/librsvg-2.0.vapi
+++ b/vapi/librsvg-2.0.vapi
@@ -1,4 +1,4 @@
-/* librsvg-2.0.vapi generated by lt-vapigen, do not modify. */
+/* librsvg-2.0.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Rsvg", lower_case_cprefix = "rsvg_")]
 namespace Rsvg {
@@ -15,7 +15,7 @@ namespace Rsvg {
 		public bool close () throws GLib.Error;
 		public void free ();
 		[CCode (has_construct_function = false)]
-		public Handle.from_data (uchar data, size_t data_len) throws GLib.Error;
+		public Handle.from_data ([CCode (array_length = false)] uchar[] data, size_t data_len) throws GLib.Error;
 		[CCode (has_construct_function = false)]
 		public Handle.from_file (string file_name) throws GLib.Error;
 		public unowned string get_base_uri ();
diff --git a/vapi/packages/librsvg-2.0/librsvg-2.0.metadata b/vapi/packages/librsvg-2.0/librsvg-2.0.metadata
index 02dfeba..5d41e18 100644
--- a/vapi/packages/librsvg-2.0/librsvg-2.0.metadata
+++ b/vapi/packages/librsvg-2.0/librsvg-2.0.metadata
@@ -1,5 +1,6 @@
 Rsvg cheader_filename="librsvg/rsvg.h"
 RsvgSizeFunc.width is_ref="1"
 RsvgSizeFunc.height is_ref="1"
+rsvg_handle_new_from_data.data is_array="1" no_array_length="1"
 rsvg_handle_set_size_callback.size_func transfer_ownership="1"
 rsvg_handle_set_size_callback.user_data_destroy hidden="1"



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