]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Restore missing function in rest.vapi
authorAdrien Bustany <madcat@mymadcat.com>
Thu, 28 Jan 2010 22:58:42 +0000 (19:58 -0300)
committerAdrien Bustany <madcat@mymadcat.com>
Thu, 28 Jan 2010 22:59:40 +0000 (19:59 -0300)
The last commit on rest.vapi removed rest_proxy_new_call, probably because
the -custom file was omitted during generation. This commit restores it.

vapi/packages/rest/rest-custom.vala
vapi/rest.vapi

index 5359e8108804ab9ed09e0016e3fe2a8788ce11e7..27b309458dd7959a401702c34ddb7df5ea8b99b6 100644 (file)
@@ -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 ();
        }
 }
 
index 0bb8129217de7caa577982b47f8511049735192b..ebf4e4b22a355c235b61b1ce6596773031925d93 100644 (file)
@@ -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;