]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gudev-1.0: update to latest git
authorEvan Nemerson <evan@nemerson.com>
Sun, 18 May 2014 17:15:26 +0000 (10:15 -0700)
committerEvan Nemerson <evan@nemerson.com>
Sun, 18 May 2014 17:16:33 +0000 (10:16 -0700)
Most of the metadata has been moved into annotations upstream.

vapi/gudev-1.0.vapi
vapi/metadata/GUdev-1.0.metadata

index d0db74421ab2fb69810b3a3af256e94d861588eb..e5f432c265585601a8c024eab38467f82d5668b8 100644 (file)
@@ -51,11 +51,14 @@ namespace GUdev {
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[]? get_sysfs_attr_as_strv (string name);
                public uint64 get_sysfs_attr_as_uint64 (string name);
+               [CCode (array_length = false, array_null_terminated = true)]
+               public unowned string[] get_sysfs_attr_keys ();
                public unowned string get_sysfs_path ();
                [CCode (array_length = false, array_null_terminated = true)]
                public unowned string[] get_tags ();
                public uint64 get_usec_since_initialized ();
                public bool has_property (string key);
+               public bool has_sysfs_attr (string key);
        }
        [CCode (cheader_filename = "gudev/gudev.h", type_id = "g_udev_enumerator_get_type ()")]
        public class Enumerator : GLib.Object {
index 6080912838c3ceb258dcf97485a7336f2deb31f4..09a82adc79a670c017a32aaa563f3064fe2253f0 100644 (file)
@@ -1,11 +1 @@
-// Report upstream
-Client.query_by* nullable
-Device
-       .get_device_file nullable
-       .get_driver nullable
-       .get_parent* skip=false nullable unowned=false
-       .get_property nullable
-       .get_property_as_strv nullable
-       .get_sysfs_attr nullable
-       .get_sysfs_attr_as_strv nullable
 DeviceNumber skip