[librest/tintou/annotations] vala: Add Rest-1.0.metadata




commit 07d4eb8e6f44e2e25d89665fb555c1bdf7124828
Author: Corentin Noël <corentin noel collabora com>
Date:   Tue Aug 9 11:19:40 2022 +0200

    vala: Add Rest-1.0.metadata
    
    Fixes some missing symbols that are supported by Vala but not by the
    GObject introspection yet.

 rest/Rest-1.0.metadata        | 31 +++++++++++++++++++++++++++++++
 rest/meson.build              |  1 +
 rest/rest-oauth2-proxy-call.c |  1 +
 3 files changed, 33 insertions(+)
---
diff --git a/rest/Rest-1.0.metadata b/rest/Rest-1.0.metadata
new file mode 100644
index 0000000..ed5d476
--- /dev/null
+++ b/rest/Rest-1.0.metadata
@@ -0,0 +1,31 @@
+OAuth2Proxy cprefix="oauth2_proxy_"
+OAuth2ProxyCall cprefix="oauth2_proxy_call_"
+Proxy
+       .new_call skip=false
+       .bind skip=false
+ProxyCall
+       .get_params skip=false
+       .get_response_headers skip=false
+       .add_headers skip=false
+       .add_params skip=false
+       .continuous skip=false
+       .upload skip=false
+       .cancel skip=false
+XmlNode
+       .ref skip=false
+       .unref skip=false
+
+ProxyCallAsyncCallback
+       .error nullable=true
+       .weak_object nullable=true
+       .userdata closure=3
+ProxyCallContinuousCallback
+       .error nullable=true
+       .weak_object nullable=true
+       .userdata closure=5
+ProxyCallUploadCallback
+       .error nullable=true
+       .weak_object nullable=true
+       .userdata closure=5
+
+*.ref unowned
\ No newline at end of file
diff --git a/rest/meson.build b/rest/meson.build
index 224b24a..8e69a86 100644
--- a/rest/meson.build
+++ b/rest/meson.build
@@ -99,6 +99,7 @@ if get_option('introspection')
     librest_vapi = gnome.generate_vapi(librest_pkg_string,
       sources: librest_gir [0],
       packages: [ 'glib-2.0', 'libsoup-@0@'.format(libsoup_api_version) ],
+      metadata_dirs : meson.current_source_dir(),
       install: true,
     )
   endif
diff --git a/rest/rest-oauth2-proxy-call.c b/rest/rest-oauth2-proxy-call.c
index 88840b3..cfed247 100644
--- a/rest/rest-oauth2-proxy-call.c
+++ b/rest/rest-oauth2-proxy-call.c
@@ -17,6 +17,7 @@
  */
 
 #include "rest-oauth2-proxy-call.h"
+#include "rest-oauth2-proxy.h"
 
 G_DEFINE_TYPE (RestOAuth2ProxyCall, rest_oauth2_proxy_call, REST_TYPE_PROXY_CALL)
 


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