From: Adrien Bustany Date: Thu, 28 Jan 2010 22:58:42 +0000 (-0300) Subject: Restore missing function in rest.vapi X-Git-Tag: 0.7.10~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3eecfa1ac649de7dd520ada5b1ccb2f6a3ad1822;p=thirdparty%2Fvala.git Restore missing function in rest.vapi The last commit on rest.vapi removed rest_proxy_new_call, probably because the -custom file was omitted during generation. This commit restores it. --- diff --git a/vapi/packages/rest/rest-custom.vala b/vapi/packages/rest/rest-custom.vala index 5359e8108..27b309458 100644 --- a/vapi/packages/rest/rest-custom.vala +++ b/vapi/packages/rest/rest-custom.vala @@ -1,7 +1,6 @@ namespace Rest { - [CCode (cheader_filename = "rest/rest-proxy.h")] public class Proxy { - public virtual Rest.ProxyCall new_call (); + public Rest.ProxyCall new_call (); } } diff --git a/vapi/rest.vapi b/vapi/rest.vapi index 0bb812921..ebf4e4b22 100644 --- a/vapi/rest.vapi +++ b/vapi/rest.vapi @@ -84,7 +84,7 @@ namespace Rest { [CCode (cheader_filename = "rest/oauth-proxy-call.h")] public class OAuthProxyCall : Rest.ProxyCall { } - [CCode (cheader_filename = "rest/rest-proxy.h")] + [CCode (cheader_filename = "rest-custom.h")] public class Proxy : GLib.Object { [CCode (has_construct_function = false)] public Proxy (string url_format, bool binding_required); @@ -92,6 +92,7 @@ namespace Rest { public virtual bool bind_valist (void* @params); public static GLib.Quark error_quark (); public unowned string get_user_agent (); + public Rest.ProxyCall new_call (); public void set_user_agent (string user_agent); public bool simple_run (string payload, int64 len) throws GLib.Error; public virtual bool simple_run_valist (string payload, int64 len, void* @params) throws GLib.Error;