1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) 2014 by SiegeLord
//
// All rights reserved. Distributed under ZLib. For full terms see the file LICENSE.

#![crate_name="allegro"]
#![crate_type = "lib"]

extern crate libc;
extern crate allegro_sys as ffi;
#[macro_use]
extern crate allegro_util;

pub use internal::bitmap::external::*;
pub use internal::bitmap_like::*;
pub use internal::color::*;
pub use internal::config::external::*;
pub use internal::core::external::*;
pub use internal::display::external::*;
pub use internal::events::external::*;
pub use internal::joystick::*;
pub use internal::keycodes::*;
pub use internal::run::*;
#[cfg(any(allegro_5_2_0, allegro_5_1_0))]
pub use internal::shader::*;
pub use internal::timer::*;
pub use internal::transformations::external::*;
pub use allegro_util::*;

mod internal
{
	pub mod bitmap;
	pub mod bitmap_like;
	pub mod color;
	pub mod config;
	pub mod core;
	pub mod display;
	pub mod events;
	pub mod joystick;
	pub mod keycodes;
	pub mod run;
	#[cfg(any(allegro_5_2_0, allegro_5_1_0))]
	pub mod shader;
	pub mod timer;
	pub mod transformations;
}
pub mod allegro_main;