[librsvg: 8/9] Mention panics due to incorrect API ordering in the new API functions
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 8/9] Mention panics due to incorrect API ordering in the new API functions
- Date: Wed, 24 Jul 2019 17:57:04 +0000 (UTC)
commit b800a38a62ae98bd1c5856d8f746bee9605bca0a
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jul 24 12:55:18 2019 -0500
Mention panics due to incorrect API ordering in the new API functions
librsvg/rsvg-handle.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/librsvg/rsvg-handle.c b/librsvg/rsvg-handle.c
index 9ec95f90..4650ca5d 100644
--- a/librsvg/rsvg-handle.c
+++ b/librsvg/rsvg-handle.c
@@ -1199,6 +1199,8 @@ rsvg_handle_set_size_callback (RsvgHandle *handle,
* API ordering: This function must be called on a fully-loaded @handle. See
* the section <link href="#API-ordering">API ordering</link> for details.
*
+ * Panics: this function will panic if the @handle is not fully-loaded.
+ *
* Since: 2.46
*/
void
@@ -1256,6 +1258,11 @@ rsvg_handle_get_intrinsic_dimensions (RsvgHandle *handle,
* This operation is not constant-time, as it involves going through all
* the child elements.
*
+ * API ordering: This function must be called on a fully-loaded @handle. See
+ * the section <link href="#API-ordering">API ordering</link> for details.
+ *
+ * Panics: this function will panic if the @handle is not fully-loaded.
+ *
* Since: 2.46
*/
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]