Make the gfx::platform module private.

This commit is contained in:
Ms2ger 2016-06-05 12:02:22 +02:00
parent 2767133ff3
commit 50e1e8bf02
2 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ pub mod paint_thread;
// Platform-specific implementations.
#[allow(unsafe_code)]
pub mod platform;
mod platform;
// Text
#[allow(unsafe_code)]

View file

@ -9,7 +9,7 @@ pub use platform::freetype::{font, font_context, font_list, font_template};
pub use platform::macos::{font, font_context, font_list, font_template};
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
pub mod freetype {
mod freetype {
use libc::c_char;
use std::ffi::CStr;
use std::str;
@ -27,7 +27,7 @@ pub mod freetype {
}
#[cfg(target_os = "macos")]
pub mod macos {
mod macos {
pub mod font;
pub mod font_context;
pub mod font_list;