lib.rs (618B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 4 5 #[macro_use] 6 extern crate cstr; 7 #[macro_use] 8 extern crate gecko_profiler; 9 #[macro_use] 10 extern crate log; 11 #[macro_use] 12 extern crate style; 13 14 mod error_reporter; 15 #[allow(non_snake_case)] 16 pub mod glue; 17 mod stylesheet_loader; 18 19 // FIXME(bholley): This should probably go away once we harmonize the allocators. 20 #[no_mangle] 21 pub extern "C" fn je_malloc_usable_size(_: *const ::libc::c_void) -> ::libc::size_t { 22 0 23 }