Commit bd9158e4 authored by Rico Tzschichholz's avatar Rico Tzschichholz

javascriptcoregtk-4.0: buffer of String.get_utf8_cstring() is not "ref"

https://bugzilla.gnome.org/show_bug.cgi?id=788113
parent 6f5b40ff
......@@ -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")]
......
......@@ -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")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment