[librsvg: 1/5] rgba_to_argb(): Make private
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/5] rgba_to_argb(): Make private
- Date: Tue, 14 Jan 2020 17:57:43 +0000 (UTC)
commit 15c6a8c65c6852ea4bca7da44d58906691b5acbb
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Jan 14 09:14:53 2020 -0600
rgba_to_argb(): Make private
rsvg_internals/src/color.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/color.rs b/rsvg_internals/src/color.rs
index 464ac3c3..5054c880 100644
--- a/rsvg_internals/src/color.rs
+++ b/rsvg_internals/src/color.rs
@@ -58,7 +58,7 @@ pub struct ColorSpec {
argb: u32,
}
-pub fn rgba_to_argb(rgba: cssparser::RGBA) -> u32 {
+fn rgba_to_argb(rgba: cssparser::RGBA) -> u32 {
u32::from(rgba.alpha) << 24
| u32::from(rgba.red) << 16
| u32::from(rgba.green) << 8
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]