diff options
author | Glenn Watson <gw@intuitionlibrary.com> | 2014-12-19 05:06:56 +1000 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2014-12-19 05:44:47 +1000 |
commit | f2d112213ba889eddb6c1b0fab878bcd4f500c64 (patch) | |
tree | e897dc26beb5faf7c75c127c813953d8407abc75 /src | |
parent | fa5cb66cff2e13a5ee75c4f99abe5f93bede7dd1 (diff) | |
download | glutin-f2d112213ba889eddb6c1b0fab878bcd4f500c64.tar.gz glutin-f2d112213ba889eddb6c1b0fab878bcd4f500c64.zip |
Add experimental attribute since this API will need to be cleaned up.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -486,6 +486,7 @@ impl Window { /// Sets a resize callback that is called by Mac (and potentially other /// operating systems) during resize operations. This can be used to repaint /// during window resizing. + #[experimental] pub fn set_window_resize_callback(&mut self, callback: Option<fn(uint, uint)>) { self.window.set_window_resize_callback(callback); } @@ -550,6 +551,7 @@ impl HeadlessContext { self.context.get_api() } + #[experimental] pub fn set_window_resize_callback(&mut self, _: Option<fn(uint, uint)>) { } } |