summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2022-08-09 11:19:40 +0200
committerCorentin Noël <corentin.noel@collabora.com>2022-08-09 11:43:58 +0200
commit89c2b46fcad2b4b168e14b62a794417036532208 (patch)
treeb97ae7ff9f7cc39f05600121d582fbfc0e258218
parentb55a7aad46554658916e57c28e024fa34e0b1e82 (diff)
downloadlibrest-89c2b46fcad2b4b168e14b62a794417036532208.tar.gz
vala: Add Rest-1.0.metadata
Fixes some missing symbols that are supported by Vala but not by the GObject introspection yet.
-rw-r--r--rest/Rest-1.0.metadata31
-rw-r--r--rest/meson.build1
2 files changed, 32 insertions, 0 deletions
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