summaryrefslogtreecommitdiff
path: root/font/src/lib.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-30 18:55:10 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-30 18:55:10 -0800
commita00970c9a83d0a9033e70650beb2f4a924cfe9cc (patch)
tree6d640e6f02f91580dc4b144b1c1697271fa52ae4 /font/src/lib.rs
parent44c6171bc0ce461697ef568a0b1134f02cb4c9aa (diff)
downloadalacritty-a00970c9a83d0a9033e70650beb2f4a924cfe9cc.tar.gz
alacritty-a00970c9a83d0a9033e70650beb2f4a924cfe9cc.zip
Add ffi-util crate and use in fontconfig wrapper
This cleans up and fixes the C-type wrapping for fontconfig.
Diffstat (limited to 'font/src/lib.rs')
-rw-r--r--font/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs
index ca8de0a2..7ec5984c 100644
--- a/font/src/lib.rs
+++ b/font/src/lib.rs
@@ -36,6 +36,9 @@ extern crate core_graphics;
extern crate euclid;
extern crate libc;
+#[macro_use]
+extern crate ffi_util;
+
use std::fmt;
use std::sync::atomic::{AtomicU32, ATOMIC_U32_INIT, Ordering};