allegro 0.0.0

Allegro 5 core library Rust wrapper
// Copyright (c) 2014 by SiegeLord
//
// All rights reserved. Distributed under ZLib. For full terms see the file LICENSE.

#![crate_name="allegro"]

#![crate_type = "lib"]
#![feature(globs)]
#![feature(macro_rules)]
#![feature(unsafe_destructor)]

extern crate libc;

pub use internal::bitmap::external::*;
pub use internal::bitmap_like::*;
pub use internal::color::*;
pub use internal::core::external::*;
pub use internal::display::*;
pub use internal::events::external::*;
pub use internal::joystick::*;
pub use internal::keycodes::*;
pub use internal::run::*;
pub use internal::timer::*;
pub use internal::transformations::external::*;
pub use rust_util::*;

#[cfg(not(manual_link))]
mod link_name
{
	#[link(name = "allegro")]
	extern "C" {}
}

#[macro_escape]
pub mod macros;

pub mod rust_util;
pub mod ffi;

mod internal
{
	pub mod bitmap;
	pub mod bitmap_like;
	pub mod color;
	pub mod core;
	pub mod display;
	pub mod events;
	pub mod joystick;
	pub mod keycodes;
	pub mod run;
	pub mod timer;
	pub mod transformations;
}
pub mod allegro_main;