diff options
author | Evan Nemerson <evan@coeus-group.com> | 2010-06-10 21:35:42 -0700 |
---|---|---|
committer | Evan Nemerson <evan@coeus-group.com> | 2010-06-12 21:39:39 -0700 |
commit | 4ad749b715f91d48ed71c6be0fc4b66b24ab497e (patch) | |
tree | 78155a52733a808755967c557f532500f405e27a | |
parent | dcbd995c4c5cdb75c83d64b340700fff716731c3 (diff) | |
download | vala-4ad749b715f91d48ed71c6be0fc4b66b24ab497e.tar.gz |
gudev-1.0: fix Device.get_property_keys and Client.query_by_subsystem
-rw-r--r-- | vapi/gudev-1.0.vapi | 4 | ||||
-rw-r--r-- | vapi/packages/gudev-1.0/gudev-1.0.metadata | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vapi/gudev-1.0.vapi b/vapi/gudev-1.0.vapi index 057ab5529..e176eae24 100644 --- a/vapi/gudev-1.0.vapi +++ b/vapi/gudev-1.0.vapi @@ -8,7 +8,7 @@ namespace GUdev { public Client ([CCode (array_length = false)] string[]? subsystems); public unowned GUdev.Device? query_by_device_file (string device_file); public unowned GUdev.Device? query_by_device_number (GUdev.DeviceType type, GUdev.DeviceNumber number); - public GLib.List query_by_subsystem (string? subsystem); + public GLib.List<GUdev.Device> query_by_subsystem (string? subsystem); public unowned GUdev.Device? query_by_subsystem_and_name (string subsystem, string name); public unowned GUdev.Device? query_by_sysfs_path (string sysfs_path); [NoWrapper] @@ -53,7 +53,7 @@ namespace GUdev { [CCode (array_length = false)] public unowned string?[] get_property_as_strv (string key); public uint64 get_property_as_uint64 (string key); - [CCode (array_length = false)] + [CCode (array_length = false, array_null_terminated = true)] public unowned string?[] get_property_keys (); public uint64 get_seqnum (); public unowned string get_subsystem (); diff --git a/vapi/packages/gudev-1.0/gudev-1.0.metadata b/vapi/packages/gudev-1.0/gudev-1.0.metadata index a46be5164..3955c54fa 100644 --- a/vapi/packages/gudev-1.0/gudev-1.0.metadata +++ b/vapi/packages/gudev-1.0/gudev-1.0.metadata @@ -1,7 +1,7 @@ GUdev cheader_filename="gudev/gudev.h" lower_case_cprefix="g_udev_" g_udev_client_new.subsystems is_array="1" no_array_length="1" nullable="1" g_udev_client_query_by_subsystem.subsystem nullable="1" -g_udev_client_query_by_subsystem transfer_ownership="1" +g_udev_client_query_by_subsystem transfer_ownership="1" type_arguments="Device" g_udev_client_query_by_device_number nullable="1" g_udev_client_query_by_device_file nullable="1" g_udev_client_query_by_sysfs_path nullable="1" @@ -12,7 +12,7 @@ g_udev_device_get_device_file_symlinks transfer_ownership="0" is_array="1" no_ar g_udev_device_get_parent nullable="1" g_udev_device_get_parent_with_subsystem.devtype nullable="1" g_udev_device_get_parent_with_subsystem nullable="1" -g_udev_device_get_property_keys nullable="1" transfer_ownership="0" is_array="1" no_array_length="1" +g_udev_device_get_property_keys nullable="1" transfer_ownership="0" is_array="1" no_array_length="1" array_null_terminated="1" g_udev_device_get_property nullable="1" transfer_ownership="0" g_udev_device_get_property_as_strv nullable="1" transfer_ownership="0" is_array="1" no_array_length="1" g_udev_device_get_sysfs_attr nullable="1" transfer_ownership="0" |