Register new snapshots
This commit is contained in:
parent
c83afb9719
commit
c3ea3e439f
74 changed files with 194 additions and 208 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue