diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2022-05-03 07:57:47 +0900 |
---|---|---|
committer | 坂本 貴史 <o-takashi@sakamocchi.jp> | 2022-05-03 08:31:29 +0900 |
commit | 5506cdf9413569ab1dad0a8a2749ba099191070a (patch) | |
tree | 977bc0a5b3ea1e0b31f4f8d5ed0a8ac1b3bc598e | |
parent | 13619d53bb890183ac0d9d13bce4d26661c97252 (diff) | |
download | libhinoko-5506cdf9413569ab1dad0a8a2749ba099191070a.tar.gz |
fw_iso_resource: add missing annotation for GError argument of signal
Without "(in)" annotation, it's handled as a pointer for "(out)" parameter.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | src/fw_iso_resource.c | 8 | ||||
-rw-r--r-- | src/fw_iso_resource.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/fw_iso_resource.c b/src/fw_iso_resource.c index 97cdd71..a28e826 100644 --- a/src/fw_iso_resource.c +++ b/src/fw_iso_resource.c @@ -94,8 +94,8 @@ static void hinoko_fw_iso_resource_class_init(HinokoFwIsoResourceClass *klass) * @self: A [class@FwIsoResource]. * @channel: The deallocated channel number. * @bandwidth: The deallocated amount of bandwidth. - * @error: (transfer none) (nullable): A [struct@GLib.Error]. Error can be generated with - * domain of Hinoko.FwIsoResourceError and its EVENT code. + * @error: (transfer none) (nullable) (in): A [struct@GLib.Error]. Error can be generated + * with domain of Hinoko.FwIsoResourceError and its EVENT code. * * Emitted when allocation of isochronous resource finishes. */ @@ -114,8 +114,8 @@ static void hinoko_fw_iso_resource_class_init(HinokoFwIsoResourceClass *klass) * @self: A [class@FwIsoResource]. * @channel: The deallocated channel number. * @bandwidth: The deallocated amount of bandwidth. - * @error: (transfer none) (nullable): A [struct@GLib.Error]. Error can be generated with - * domain of Hinoko.FwIsoResourceError and its EVENT code. + * @error: (transfer none) (nullable) (in): A [struct@GLib.Error]. Error can be generated + * with domain of Hinoko.FwIsoResourceError and its EVENT code. * * Emitted when deallocation of isochronous resource finishes. */ diff --git a/src/fw_iso_resource.h b/src/fw_iso_resource.h index 85a1861..db1ef03 100644 --- a/src/fw_iso_resource.h +++ b/src/fw_iso_resource.h @@ -23,8 +23,8 @@ struct _HinokoFwIsoResourceClass { * @self: A [class@FwIsoResource]. * @channel: The deallocated channel number. * @bandwidth: The deallocated amount of bandwidth. - * @error: (transfer none) (nullable): A [struct@GLib.Error]. Error can be generated with - * domain of Hinoko.FwIsoResourceError and its EVENT code. + * @error: (transfer none) (nullable) (in): A [struct@GLib.Error]. Error can be generated + * with domain of Hinoko.FwIsoResourceError and its EVENT code. * * Class closure for the [signal@FwIsoResource::allocated] signal. */ @@ -36,8 +36,8 @@ struct _HinokoFwIsoResourceClass { * @self: A [class@FwIsoResource]. * @channel: The deallocated channel number. * @bandwidth: The deallocated amount of bandwidth. - * @error: (transfer none) (nullable): A [struct@GLib.Error]. Error can be generated with - * domain of Hinoko.FwIsoResourceError and its EVENT code. + * @error: (transfer none) (nullable) (in): A [struct@GLib.Error]. Error can be generated + * with domain of Hinoko.FwIsoResourceError and its EVENT code. * * Class closure for the [signal@FwIsoResource::deallocated] signal. */ |