Skip to content

Instantly share code, notes, and snippets.

@hpk42
Created July 1, 2019 14:56
Show Gist options
  • Select an option

  • Save hpk42/bd4c535649949600bd0f2cfe91bb9243 to your computer and use it in GitHub Desktop.

Select an option

Save hpk42/bd4c535649949600bd0f2cfe91bb9243 to your computer and use it in GitHub Desktop.
Event::CONFIGURE_PROGRESS,
(if 20i32 < 1i32 {
1i32
} else if 20i32 > 999i32 {
999i32
} else {
20i32
}) as uintptr_t,
0i32 as uintptr_t,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment