diff options
Diffstat (limited to 'src/libextra/unicode.rs')
| -rw-r--r-- | src/libextra/unicode.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libextra/unicode.rs b/src/libextra/unicode.rs index 3bd05a41534..1b860cf2281 100644 --- a/src/libextra/unicode.rs +++ b/src/libextra/unicode.rs @@ -161,15 +161,15 @@ pub mod icu { pub mod libicu { #[link_name = "icuuc"] #[abi = "cdecl"] - pub extern { - unsafe fn u_hasBinaryProperty(c: UChar32, which: UProperty) - -> UBool; - unsafe fn u_isdigit(c: UChar32) -> UBool; - unsafe fn u_islower(c: UChar32) -> UBool; - unsafe fn u_isspace(c: UChar32) -> UBool; - unsafe fn u_isupper(c: UChar32) -> UBool; - unsafe fn u_tolower(c: UChar32) -> UChar32; - unsafe fn u_toupper(c: UChar32) -> UChar32; + extern { + pub unsafe fn u_hasBinaryProperty(c: UChar32, which: UProperty) + -> UBool; + pub unsafe fn u_isdigit(c: UChar32) -> UBool; + pub unsafe fn u_islower(c: UChar32) -> UBool; + pub unsafe fn u_isspace(c: UChar32) -> UBool; + pub unsafe fn u_isupper(c: UChar32) -> UBool; + pub unsafe fn u_tolower(c: UChar32) -> UChar32; + pub unsafe fn u_toupper(c: UChar32) -> UChar32; } } } |
