diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-09-24 09:34:35 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-09-24 09:34:35 +0200 |
commit | 3e11e5ef69cc714c067dff49834f0e782c8f7fc6 (patch) | |
tree | c60477887a81d310e11f37c1e25ec3d5862ead7b /src/api/ios | |
parent | aa5f5de1099fab89f173fb02bae16324946de147 (diff) | |
parent | 86fa1b58e5a44a1711e812ed1e56c0e2c6946eed (diff) | |
download | glutin-3e11e5ef69cc714c067dff49834f0e782c8f7fc6.tar.gz glutin-3e11e5ef69cc714c067dff49834f0e782c8f7fc6.zip |
Merge pull request #612 from tomaka/monitorid-to-monitorid
Rename MonitorID -> MonitorId
Diffstat (limited to 'src/api/ios')
-rw-r--r-- | src/api/ios/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/api/ios/mod.rs b/src/api/ios/mod.rs index 0d7de57..52eebbf 100644 --- a/src/api/ios/mod.rs +++ b/src/api/ios/mod.rs @@ -105,7 +105,7 @@ use self::ffi::{ static mut jmpbuf: [libc::c_int;27] = [0;27]; #[derive(Clone)] -pub struct MonitorID; +pub struct MonitorId; pub struct Window { eagl_context: id, @@ -149,18 +149,18 @@ impl DelegateState { } #[inline] -pub fn get_available_monitors() -> VecDeque<MonitorID> { +pub fn get_available_monitors() -> VecDeque<MonitorId> { let mut rb = VecDeque::new(); - rb.push_back(MonitorID); + rb.push_back(MonitorId); rb } #[inline] -pub fn get_primary_monitor() -> MonitorID { - MonitorID +pub fn get_primary_monitor() -> MonitorId { + MonitorId } -impl MonitorID { +impl MonitorId { #[inline] pub fn get_name(&self) -> Option<String> { Some("Primary".to_string()) |