ccode_params.append_printf ("%sarray_length = false", separator);
separator = ", ";
}
+ if (param.array_null_terminated && param.variable_type is ArrayType) {
+ ccode_params.append_printf ("%sarray_null_terminated = true", separator);
+ separator = ", ";
+ }
if (param.array_length_type != null && param.variable_type is ArrayType) {
ccode_params.append_printf ("%sarray_length_type = \"%s\"", separator, param.array_length_type);
separator = ", ";
public string g_name_owner { owned get; }
[NoAccessorMethod]
public string g_object_path { owned get; construct; }
- public virtual signal void g_properties_changed (GLib.Variant changed_properties, string[] invalidated_properties);
+ public virtual signal void g_properties_changed (GLib.Variant changed_properties, [CCode (array_length = false, array_null_terminated = true)] string[] invalidated_properties);
public virtual signal void g_signal (string sender_name, string signal_name, GLib.Variant parameters);
}
[CCode (cheader_filename = "gio/gio.h")]
GDBusNodeInfo.annotations is_array="1"
GDBusNodeInfo.interfaces is_array="1"
GDBusNodeInfo.nodes is_array="1"
+GDBusProxy::g_properties_changed.invalidated_properties no_array_length="1" array_null_terminated="1"
g_dbus_proxy_call async="1"
g_dbus_proxy_call.parameters nullable="1"
g_dbus_proxy_call_finish transfer_ownership="1"
p.variable_type = param_type;
p.direction = ParameterDirection.IN;
}
+ } else if (nv[0] == "no_array_length") {
+ if (eval (nv[1]) == "1") {
+ p.no_array_length = true;
+ }
+ } else if (nv[0] == "array_length_type") {
+ p.array_length_type = eval (nv[1]);
+ } else if (nv[0] == "array_null_terminated") {
+ if (eval (nv[1]) == "1") {
+ p.no_array_length = true;
+ p.array_null_terminated = true;
+ }
} else if (nv[0] == "is_out") {
if (eval (nv[1]) == "1") {
p.direction = ParameterDirection.OUT;