From d2d3b3362a29f70afc01d598a7227c041c31e425 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 14 Mar 2019 17:47:00 +0700 Subject: [PATCH] Refer to macOS rather than OS X. --- cocoa/Cargo.toml | 2 +- cocoa/README.md | 2 +- core-foundation-sys/Cargo.toml | 2 +- core-foundation-sys/src/runloop.rs | 2 +- core-foundation-sys/src/string.rs | 2 +- core-foundation/Cargo.toml | 2 +- core-graphics/Cargo.toml | 2 +- io-surface/Cargo.toml | 2 +- io-surface/src/lib.rs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cocoa/Cargo.toml b/cocoa/Cargo.toml index e1fba6e..ddf230e 100644 --- a/cocoa/Cargo.toml +++ b/cocoa/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cocoa" -description = "Bindings to Cocoa for OS X" +description = "Bindings to Cocoa for macOS" homepage = "https://github.com/servo/core-foundation-rs" repository = "https://github.com/servo/core-foundation-rs" version = "0.18.4" diff --git a/cocoa/README.md b/cocoa/README.md index 3024bde..d1818d1 100644 --- a/cocoa/README.md +++ b/cocoa/README.md @@ -1,6 +1,6 @@ Cocoa-rs -------- -This crate provides Rust bindings to Cocoa for OSX. It's dual-licensed MIT / +This crate provides Rust bindings to Cocoa for macOS. It's dual-licensed MIT / Apache 2.0. If you'd like to help improve cocoa-rs, check out [the Servo contributing guide](https://github.com/servo/servo/blob/master/CONTRIBUTING.md)! diff --git a/core-foundation-sys/Cargo.toml b/core-foundation-sys/Cargo.toml index e6b9866..201b51c 100644 --- a/core-foundation-sys/Cargo.toml +++ b/core-foundation-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "core-foundation-sys" -description = "Bindings to Core Foundation for OS X" +description = "Bindings to Core Foundation for macOS" homepage = "https://github.com/servo/core-foundation-rs" repository = "https://github.com/servo/core-foundation-rs" version = "0.6.2" diff --git a/core-foundation-sys/src/runloop.rs b/core-foundation-sys/src/runloop.rs index 5de7b87..cfaf9db 100644 --- a/core-foundation-sys/src/runloop.rs +++ b/core-foundation-sys/src/runloop.rs @@ -69,7 +69,7 @@ pub struct CFRunLoopSourceContext1 { pub copyDescription: extern "C" fn (info: *const c_void) -> CFStringRef, pub equal: extern "C" fn (info1: *const c_void, info2: *const c_void) -> Boolean, pub hash: extern "C" fn (info: *const c_void) -> CFHashCode, - // note that the following two fields are platform dependent in the C header, the ones here are for OS X + // note that the following two fields are platform dependent in the C header, the ones here are for macOS pub getPort: extern "C" fn (info: *mut c_void) -> mach_port_t, pub perform: extern "C" fn (msg: *mut c_void, size: CFIndex, allocator: CFAllocatorRef, info: *mut c_void) -> *mut c_void, } diff --git a/core-foundation-sys/src/string.rs b/core-foundation-sys/src/string.rs index a990d96..8b92024 100644 --- a/core-foundation-sys/src/string.rs +++ b/core-foundation-sys/src/string.rs @@ -28,7 +28,7 @@ pub type CFStringCompareFlags = CFOptionFlags; pub type CFStringEncoding = u32; -// OS X built-in encodings. +// macOS built-in encodings. //static kCFStringEncodingMacRoman: CFStringEncoding = 0; //static kCFStringEncodingWindowsLatin1: CFStringEncoding = 0x0500; diff --git a/core-foundation/Cargo.toml b/core-foundation/Cargo.toml index 9048fd9..245eac2 100644 --- a/core-foundation/Cargo.toml +++ b/core-foundation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "core-foundation" -description = "Bindings to Core Foundation for OS X" +description = "Bindings to Core Foundation for macOS" homepage = "https://github.com/servo/core-foundation-rs" repository = "https://github.com/servo/core-foundation-rs" version = "0.6.3" diff --git a/core-graphics/Cargo.toml b/core-graphics/Cargo.toml index 0137d48..59576de 100644 --- a/core-graphics/Cargo.toml +++ b/core-graphics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "core-graphics" -description = "Bindings to Core Graphics for OS X" +description = "Bindings to Core Graphics for macOS" homepage = "https://github.com/servo/core-graphics-rs" repository = "https://github.com/servo/core-foundation-rs" version = "0.17.3" diff --git a/io-surface/Cargo.toml b/io-surface/Cargo.toml index 888f0b0..1c57fc2 100644 --- a/io-surface/Cargo.toml +++ b/io-surface/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "io-surface" -description = "Bindings to IO Surface for OS X" +description = "Bindings to IO Surface for macOS" homepage = "https://github.com/servo/core-foundation-rs" repository = "https://github.com/servo/core-foundation-rs" version = "0.11.1" diff --git a/io-surface/src/lib.rs b/io-surface/src/lib.rs index 3883eae..932ef82 100644 --- a/io-surface/src/lib.rs +++ b/io-surface/src/lib.rs @@ -16,7 +16,7 @@ extern crate cgl; extern crate gleam; extern crate leaky_cow; -// Rust bindings to the IOSurface framework on Mac OS X. +// Rust bindings to the IOSurface framework on macOS. use core_foundation::base::{CFRelease, CFRetain, CFTypeID, CFTypeRef, CFType, TCFType}; use core_foundation::dictionary::{CFDictionary, CFDictionaryRef};