aboutsummaryrefslogtreecommitdiff
path: root/font/src/ft
diff options
context:
space:
mode:
authorKirill Chibisov <wchibisovkirill@gmail.com>2019-10-23 22:17:09 +0300
committerChristian Duerr <contact@christianduerr.com>2019-10-23 21:17:09 +0200
commitd76bb0c69793eda42d0e46d4a7c7218b8a3a4a37 (patch)
treea2c25ac330209d936fa2846d367669f0ed4c97a5 /font/src/ft
parent9e0b9d5de1b8fe2d9d8ed80f73b4ad0fda171f22 (diff)
downloadalacritty-d76bb0c69793eda42d0e46d4a7c7218b8a3a4a37.tar.gz
alacritty-d76bb0c69793eda42d0e46d4a7c7218b8a3a4a37.zip
Update dependencies
Diffstat (limited to 'font/src/ft')
-rw-r--r--font/src/ft/fc/char_set.rs2
-rw-r--r--font/src/ft/fc/config.rs2
-rw-r--r--font/src/ft/fc/font_set.rs2
-rw-r--r--font/src/ft/fc/object_set.rs2
-rw-r--r--font/src/ft/fc/pattern.rs2
5 files changed, 5 insertions, 5 deletions
diff --git a/font/src/ft/fc/char_set.rs b/font/src/ft/fc/char_set.rs
index 9d71fea4..42c25b06 100644
--- a/font/src/ft/fc/char_set.rs
+++ b/font/src/ft/fc/char_set.rs
@@ -19,7 +19,7 @@ use super::ffi::FcCharSetCreate;
use super::ffi::{FcCharSet, FcCharSetAddChar, FcCharSetDestroy};
foreign_type! {
- pub type CharSet {
+ pub unsafe type CharSet {
type CType = FcCharSet;
fn drop = FcCharSetDestroy;
}
diff --git a/font/src/ft/fc/config.rs b/font/src/ft/fc/config.rs
index cc3b5e52..46a3a934 100644
--- a/font/src/ft/fc/config.rs
+++ b/font/src/ft/fc/config.rs
@@ -17,7 +17,7 @@ use super::ffi::{FcConfig, FcConfigDestroy, FcConfigGetCurrent, FcConfigGetFonts
use super::{FontSetRef, SetName};
foreign_type! {
- pub type Config {
+ pub unsafe type Config {
type CType = FcConfig;
fn drop = FcConfigDestroy;
}
diff --git a/font/src/ft/fc/font_set.rs b/font/src/ft/fc/font_set.rs
index e280201b..632c80b0 100644
--- a/font/src/ft/fc/font_set.rs
+++ b/font/src/ft/fc/font_set.rs
@@ -21,7 +21,7 @@ use super::{ConfigRef, ObjectSetRef, PatternRef};
use super::ffi::{FcFontSet, FcFontSetDestroy, FcFontSetList};
foreign_type! {
- pub type FontSet {
+ pub unsafe type FontSet {
type CType = FcFontSet;
fn drop = FcFontSetDestroy;
}
diff --git a/font/src/ft/fc/object_set.rs b/font/src/ft/fc/object_set.rs
index 4ec15feb..1cc7e114 100644
--- a/font/src/ft/fc/object_set.rs
+++ b/font/src/ft/fc/object_set.rs
@@ -19,7 +19,7 @@ use super::ffi::{FcObjectSet, FcObjectSetAdd, FcObjectSetCreate, FcObjectSetDest
use foreign_types::ForeignTypeRef;
foreign_type! {
- pub type ObjectSet {
+ pub unsafe type ObjectSet {
type CType = FcObjectSet;
fn drop = FcObjectSetDestroy;
}
diff --git a/font/src/ft/fc/pattern.rs b/font/src/ft/fc/pattern.rs
index b6eceed8..149a45b1 100644
--- a/font/src/ft/fc/pattern.rs
+++ b/font/src/ft/fc/pattern.rs
@@ -326,7 +326,7 @@ impl_derived_property_iter! {
}
foreign_type! {
- pub type Pattern {
+ pub unsafe type Pattern {
type CType = FcPattern;
fn drop = FcPatternDestroy;
}