[vala] javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref"
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref"
- Date: Sun, 20 May 2018 11:02:33 +0000 (UTC)
commit bd9158e404423b64e01dc453e1c5b78373a4352e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun May 20 12:55:58 2018 +0200
javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref"
https://bugzilla.gnome.org/show_bug.cgi?id=788113
vapi/javascriptcoregtk-4.0.vapi | 2 +-
vapi/metadata/JavaScriptCore-4.0-custom.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/javascriptcoregtk-4.0.vapi b/vapi/javascriptcoregtk-4.0.vapi
index aceba5c..3969874 100644
--- a/vapi/javascriptcoregtk-4.0.vapi
+++ b/vapi/javascriptcoregtk-4.0.vapi
@@ -55,7 +55,7 @@ namespace JS {
[CCode (cname = "JSStringGetMaximumUTF8CStringSize")]
public size_t get_maximum_utf8_cstring_size ();
[CCode (cname = "JSStringGetUTF8CString")]
- public size_t get_utf8_cstring ([CCode (array_length_type = "gsize")] ref uint8[] buffer);
+ public size_t get_utf8_cstring ([CCode (array_length_type = "gsize")] uint8[] buffer);
[CCode (cname = "JSStringIsEqual")]
public bool is_equal (JS.String b);
[CCode (cname = "JSStringIsEqualToUTF8CString")]
diff --git a/vapi/metadata/JavaScriptCore-4.0-custom.vala b/vapi/metadata/JavaScriptCore-4.0-custom.vala
index b0e0e27..42da669 100644
--- a/vapi/metadata/JavaScriptCore-4.0-custom.vala
+++ b/vapi/metadata/JavaScriptCore-4.0-custom.vala
@@ -58,7 +58,7 @@ namespace JS {
[CCode (cname = "JSStringGetMaximumUTF8CStringSize")]
public size_t get_maximum_utf8_cstring_size ();
[CCode (cname = "JSStringGetUTF8CString")]
- public size_t get_utf8_cstring ([CCode (array_length_type = "gsize")] ref uint8[] buffer);
+ public size_t get_utf8_cstring ([CCode (array_length_type = "gsize")] uint8[] buffer);
[CCode (cname = "JSStringIsEqual")]
public bool is_equal (JS.String b);
[CCode (cname = "JSStringIsEqualToUTF8CString")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]