mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make the gfx::platform module private.
This commit is contained in:
parent
2767133ff3
commit
50e1e8bf02
2 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ pub mod paint_thread;
|
|||
|
||||
// Platform-specific implementations.
|
||||
#[allow(unsafe_code)]
|
||||
pub mod platform;
|
||||
mod platform;
|
||||
|
||||
// Text
|
||||
#[allow(unsafe_code)]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue