auto merge of #5033 : Manishearth/servo/gonk-warn, r=Ms2ger

Rust still reports that the `*mut ANativeWindow` argument in `gnw_perform` in `gonk/src/window.rs` is ffi unsafe,
however `ANativeWindow` is marked as `#[repr(C)]` and should be okay.
This commit is contained in:
bors-servo 2015-02-28 14:09:48 -07:00
commit 8bc4d07e50
5 changed files with 43 additions and 30 deletions

View file

@ -13,7 +13,7 @@ import os
import fnmatch
from licenseck import licenses
directories_to_check = ["src", "components"]
directories_to_check = ["ports/gonk", "components"]
filetypes_to_check = [".rs", ".rc", ".cpp", ".c", ".h", ".py"]
ignored_files = [
@ -25,6 +25,8 @@ ignored_files = [
"components/script/dom/bindings/codegen/*",
"components/style/properties/mod.rs",
"components/servo/target/*",
"ports/gonk/target/*",
"ports/gonk/src/native_window_glue.cpp",
# MIT license
"components/util/deque/mod.rs",