brson / rust-sdl

SDL bindings for Rust
MIT License
179 stars 52 forks source link

A binding to SDL_PushEvent is needed #83

Open mstewartgallus opened 11 years ago

mstewartgallus commented 11 years ago

A binding to the SDL_PushEvent function is needed. In my code I plan to use the blocking function SDL_WaitEvent on the main thread, and use SDL_PushEvent to unblock the main thread so I can do rendering code, or whatever.

AngryLawyer commented 11 years ago

Sure, I'll take a peek at this once we're compiling again