From 23dde5ae36bfb4f7e8614e77472bd4e07b9c952f Mon Sep 17 00:00:00 2001 From: Jared Wahlstrand Date: Sun, 15 Dec 2024 20:28:47 -0500 Subject: [PATCH] add (nullable) annotation to three methods --- src/arvcamera.c | 2 +- src/arvstream.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arvcamera.c b/src/arvcamera.c index 0e679b300..3913b02cb 100644 --- a/src/arvcamera.c +++ b/src/arvcamera.c @@ -884,7 +884,7 @@ arv_camera_abort_acquisition (ArvCamera *camera, GError **error) * Continuous acquisition mode for later operations, using arv_camera_set_acquisition_mode(). * * - * Returns: (transfer full): A new #ArvBuffer, NULL on error. The returned buffer must be freed using + * Returns: (transfer full) (nullable): A new #ArvBuffer, NULL on error or if timed out. The returned buffer must be freed using * [method@GObject.Object.unref]. * * Since: 0.8.0 diff --git a/src/arvstream.c b/src/arvstream.c index 99ad41f83..2b1d68890 100644 --- a/src/arvstream.c +++ b/src/arvstream.c @@ -141,7 +141,7 @@ arv_stream_pop_buffer (ArvStream *stream) * * This method is thread safe. * - * Returns: (transfer full): a #ArvBuffer, NULL if no buffer is available. + * Returns: (transfer full) (nullable): a #ArvBuffer, NULL if no buffer is available. * * Since: 0.2.0 */ @@ -166,7 +166,7 @@ arv_stream_try_pop_buffer (ArvStream *stream) * * This method is thread safe. * - * Returns: (transfer full): a #ArvBuffer, NULL if no buffer is available until the timeout occurs. + * Returns: (transfer full) (nullable): a #ArvBuffer, NULL if no buffer is available until the timeout occurs. * * Since: 0.2.0 */