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




commit 300e1bcbe334d4efa32c134c5cf8d5fcbc93c971
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 +
 2 files changed, 32 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


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