brson / rust-sdl

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

Move main sdl functions in global crate namespace. #28

Closed dpc closed 11 years ago

dpc commented 11 years ago

There is a Rust issue that is triggered by rust-sdl:

https://github.com/mozilla/rust/issues/4824

It's not a big deal, but it made me realize that sdl::sdl::* identifiers should probably be just in the sdl:: scope. It's more natural to do:

sdl::init(...)
sdl::video::set_video_mode(...)
AngryLawyer commented 11 years ago

I agree it'd be nicer. I'll take a peek at this over the coming week if everyone else thinks it's a good idea.

AngryLawyer commented 11 years ago

I think #33 might fix this, so hang tight!

AngryLawyer commented 11 years ago

33 fixed this, yay!