Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add (nullable) introspection annotation to return value of three methods #968

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/arvcamera.c
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ arv_camera_abort_acquisition (ArvCamera *camera, GError **error)
* Continuous acquisition mode for later operations, using arv_camera_set_acquisition_mode().</para>
* </warning>
*
* 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
Expand Down
4 changes: 2 additions & 2 deletions src/arvstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down
Loading