summaryrefslogtreecommitdiff
path: root/vapi/javascriptcoregtk-4.0.vapi
diff options
context:
space:
mode:
Diffstat (limited to 'vapi/javascriptcoregtk-4.0.vapi')
-rw-r--r--vapi/javascriptcoregtk-4.0.vapi4
1 files changed, 2 insertions, 2 deletions
diff --git a/vapi/javascriptcoregtk-4.0.vapi b/vapi/javascriptcoregtk-4.0.vapi
index c937cae1..05be292b 100644
--- a/vapi/javascriptcoregtk-4.0.vapi
+++ b/vapi/javascriptcoregtk-4.0.vapi
@@ -38,7 +38,7 @@ namespace JS {
[CCode (cname = "JSObjectCallAsFunction", instance_pos = 1.1)]
public JS.Value call_as_function (JS.Context ctx, JS.Object? this_object, [CCode (array_length_pos = 2.5)] JS.Value[]? arguments, out JS.Value? exception);
[CCode (cname = "JSObjectGetProperty", instance_pos = 1.1)]
- public JS.Value get_property (JS.Context ctx, JS.String property_name, out JS.Value? exception);
+ public JS.Value get_property (JS.Context ctx, JS.String property_name, out JS.Value? exception = null);
[CCode (cname = "JSObjectHasProperty", instance_pos = 1.1)]
public bool has_property (JS.Context ctx, JS.String property_name);
[CCode (cname = "JSObjectMakeFunction")]
@@ -54,7 +54,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")]