aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa
diff options
context:
space:
mode:
authorJohan Sköld <johan@skold.cc>2016-01-16 15:12:21 -0800
committerJohan Sköld <johan@skold.cc>2016-01-17 01:02:27 -0800
commitc71b14afb9709aef36477a3eab0a816a3f972cd8 (patch)
tree8d8544fcf14fcff684e909e2d2850641c56e159c /src/api/cocoa
parent3e0f6adec42428b42fded2e4f5d659b5e6d21358 (diff)
downloadglutin-c71b14afb9709aef36477a3eab0a816a3f972cd8.tar.gz
glutin-c71b14afb9709aef36477a3eab0a816a3f972cd8.zip
Adding os::macos.
Also implements platform_window() for cocoa.
Diffstat (limited to 'src/api/cocoa')
-rw-r--r--src/api/cocoa/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs
index a720a51..2fc1baf 100644
--- a/src/api/cocoa/mod.rs
+++ b/src/api/cocoa/mod.rs
@@ -690,7 +690,7 @@ impl Window {
#[inline]
pub fn platform_window(&self) -> *mut libc::c_void {
- unimplemented!()
+ *self.window as *mut libc::c_void
}
#[inline]