[librsvg: 9/22] get_rust_handle(): Make private
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 9/22] get_rust_handle(): Make private
- Date: Tue, 8 Jan 2019 17:53:57 +0000 (UTC)
commit dc28ac5fa1f88f9a1070d05da756ff235757b2a8
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Jan 7 19:47:33 2019 -0600
get_rust_handle(): Make private
rsvg_internals/src/handle.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/handle.rs b/rsvg_internals/src/handle.rs
index bbff3fd3..3e3e8d4c 100644
--- a/rsvg_internals/src/handle.rs
+++ b/rsvg_internals/src/handle.rs
@@ -704,7 +704,7 @@ pub unsafe extern "C" fn rsvg_handle_rust_free(raw_handle: *mut Handle) {
Box::from_raw(raw_handle);
}
-pub fn get_rust_handle<'a>(handle: *const RsvgHandle) -> &'a mut Handle {
+fn get_rust_handle<'a>(handle: *const RsvgHandle) -> &'a mut Handle {
unsafe { &mut *(rsvg_handle_get_rust(handle) as *mut Handle) }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]