]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref"
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 20 May 2018 10:55:58 +0000 (12:55 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 20 May 2018 10:55:58 +0000 (12:55 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=788113

vapi/javascriptcoregtk-4.0.vapi
vapi/metadata/JavaScriptCore-4.0-custom.vala

index aceba5c38ffc70c7f0e0c1b605cebcb6efb5bbe3..39698746fe6080cbf770e37e2551ed1bbd48c837 100644 (file)
@@ -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")]
index b0e0e27fe4914d35c2698e319da1252f2d0b00a4..42da6694c7927f8899e51dc5e47e9b5fcce658eb 100644 (file)
@@ -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")]