[vala] libsoup-2.4: SessionSync and Async.with_options require ellipsis



commit 47caabc7b2a20b63502edc0bb18b666208e24827
Author: Simon Wenner <simon wenner ch>
Date:   Wed Jan 13 01:52:08 2010 -0800

    libsoup-2.4: SessionSync and Async.with_options require ellipsis
    
    Fixes bug 605383.

 vapi/libsoup-2.4.vapi                          |    4 ++--
 vapi/packages/libsoup-2.4/libsoup-2.4.metadata |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index 7646e3f..bbda37f 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -412,14 +412,14 @@ namespace Soup {
 		[CCode (type = "SoupSession*", has_construct_function = false)]
 		public SessionAsync ();
 		[CCode (type = "SoupSession*", has_construct_function = false)]
-		public SessionAsync.with_options (string optname1);
+		public SessionAsync.with_options (string optname1, ...);
 	}
 	[CCode (cheader_filename = "libsoup/soup.h")]
 	public class SessionSync : Soup.Session {
 		[CCode (type = "SoupSession*", has_construct_function = false)]
 		public SessionSync ();
 		[CCode (type = "SoupSession*", has_construct_function = false)]
-		public SessionSync.with_options (string optname1);
+		public SessionSync.with_options (string optname1, ...);
 	}
 	[CCode (cheader_filename = "libsoup/soup.h")]
 	public class Socket : GLib.Object {
diff --git a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
index 6291c77..9df2612 100644
--- a/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
+++ b/vapi/packages/libsoup-2.4/libsoup-2.4.metadata
@@ -26,6 +26,8 @@ SoupSession::add_feature has_emitter="1"
 SoupSession::add_feature_by_type has_emitter="1"
 SoupSession::remove_feature_by_type has_emitter="1"
 soup_session_queue_message.msg transfer_ownership="1"
+soup_session_async_new_with_options ellipsis="1"
+soup_session_sync_new_with_options ellipsis="1"
 soup_uri_decode transfer_ownership="1"
 soup_uri_encode transfer_ownership="1"
 soup_uri_encode.escape_extra nullable="1"



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