[librsvg/librsvg-2.50] Clarify docs for acquire_data and acquire_stream
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.50] Clarify docs for acquire_data and acquire_stream
- Date: Fri, 30 Apr 2021 17:54:36 +0000 (UTC)
commit c2892ea8ae1a528397b85632ec5df9f1b3c1a53b
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Mar 17 12:24:07 2021 -0600
Clarify docs for acquire_data and acquire_stream
rsvg_internals/src/io.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/io.rs b/rsvg_internals/src/io.rs
index cb117b78..c884ef19 100644
--- a/rsvg_internals/src/io.rs
+++ b/rsvg_internals/src/io.rs
@@ -68,7 +68,7 @@ pub fn get_input_stream_for_loading(
}
}
-/// Returns an input stream. The url can be a data: URL or a plain URI
+/// Creates a stream for reading. The url can be a data: URL or a plain URI.
pub fn acquire_stream(
aurl: &AllowedUrl,
cancellable: Option<&Cancellable>,
@@ -96,7 +96,7 @@ pub fn acquire_stream(
}
}
-/// Returns a chunk of data. The url can be a data: URL or a plain URI
+/// Reads the entire contents pointed by an URL. The url can be a data: URL or a plain URI.
pub fn acquire_data(
aurl: &AllowedUrl,
cancellable: Option<&Cancellable>,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]