Merge pull request #225 from tomaka/win32-platform-window

Reimplement platform_window on win32
This commit is contained in:
tomaka authored and GitHub committed 2017-07-13 21:29:25 +02:00
commit a1d2ee6ecf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "winit"
version = "0.7.3"
version = "0.7.4"
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Cross-platform window creation library."
keywords = ["windowing"]
+1 -1
View File
@@ -157,7 +157,7 @@ impl Window {
}
// TODO: remove
pub fn platform_window(&self) -> *mut ::libc::c_void {
panic!() // Deprecated function ; we don't care anymore
self.window.0 as *mut ::libc::c_void
}
/// Returns the `hwnd` of this window.