aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2016-01-17 16:51:46 +0100
committertomaka <pierre.krieger1708@gmail.com>2016-01-17 16:51:46 +0100
commit0297efb7411c9d45aacebd1e3f52601d7b4fa961 (patch)
tree8d8544fcf14fcff684e909e2d2850641c56e159c /src/api
parent3e0f6adec42428b42fded2e4f5d659b5e6d21358 (diff)
parentc71b14afb9709aef36477a3eab0a816a3f972cd8 (diff)
downloadglutin-0297efb7411c9d45aacebd1e3f52601d7b4fa961.tar.gz
glutin-0297efb7411c9d45aacebd1e3f52601d7b4fa961.zip
Merge pull request #707 from rhoot/nswindow
Adding os::macos for accessing the underlying NSWindow
Diffstat (limited to 'src/api')
-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]