Turns out SDL_UnlockSurface was supposed to be returning void rather
than int. This caused the with_lock method of Surface to sometimes
inexplicably fail, as the underlying library was returning junk to Rust.
Changed it to Void and all appears happy.
Added unit test for with_lock
Add pkg.rs for rustpkg support and change fail! to die!
Replaced oldschool type for struct
Merge pull request #26 from z0w0/master

Add rustpkg support
Surfaces now track whether they're supposed ot be freed. Fixes #27
Switched fail! out for the more correct die!
Implement `img::load_img` (`IMG_Load` from `SDL_image`).

Because life without transparent images is so boring...
Mac framework support
Merge pull request #30 from pcwalton/mac-framework

Mac framework support
Merge pull request #29 from dpc/upstream

Implement `img::load_img` (`IMG_Load` from `SDL_image`).
Add support for the SDL mixer.

This is the only way to get audio support in Rust at the moment; the
low-level SDL_audio stuff wants to run a callback on a separate thread and that
will segfault at the moment. brson's stuff should eventually fix this, but for
now the SDL mixer must be used.
Made SDL image optional
Merge branch 'mixer' of git://github.com/pcwalton/rust-sdl into pcwalton-mixer

Conflicts:
	Makefile.in
	ll.rs
	sdl.rc
Added a basic readme file.
Corrected some styling issues in README markdown, and clarified flags
usage
Add mixer::allocate_channels, mixer::query, and mixer::playing
Merge pull request #32 from pcwalton/mixer

Add mixer::allocate_channels, mixer::query, and mixer::playing
Update impl syntax for language changes
Merge pull request #34 from pcwalton/impl-syntax

Update impl syntax for language changes