Register new snapshots

This commit is contained in:
Alex Crichton 2014-04-07 13:30:48 -07:00
parent c83afb9719
commit c3ea3e439f
74 changed files with 194 additions and 208 deletions

View file

@ -26,7 +26,7 @@ struct WindowCallbacks<'a> {
pos_callback: Option<WindowPosCallback<'a>>,
}
pub type WindowPosCallback<'a> = 'a |&Window, i32, i32|;
pub type WindowPosCallback<'a> = |&Window, i32, i32|: 'a;
fn main() {
let x = WindowCallbacks { pos_callback: None };