diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2014-10-24 18:12:03 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2014-10-24 18:12:03 +1000 |
commit | 21e3ff99fa5628011fe226dd13a87e09f0f33330 (patch) | |
tree | 7755dca0128cd75b9b8d39b09c7a79d7e3c179de | |
parent | 5693fbcce3ca04aa7a26920add40ea770419f3ea (diff) | |
download | glutin-21e3ff99fa5628011fe226dd13a87e09f0f33330.tar.gz glutin-21e3ff99fa5628011fe226dd13a87e09f0f33330.zip |
Make platform data function as unsafe.
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -346,7 +346,7 @@ impl Window { /// This is typically only required when integrating with /// other libraries that need this information. #[inline] - pub fn platform_display(&self) -> *mut libc::c_void { + pub unsafe fn platform_display(&self) -> *mut libc::c_void { self.window.platform_display() } } |