Refer to macOS rather than OS X.

This commit is contained in:
Bruce Mitchener
2019-03-14 17:47:00 +07:00
parent 488aa87f21
commit d2d3b3362a
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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)!
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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,
}
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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};