Files
allegro
allegro_acodec
allegro_acodec_sys
allegro_audio
allegro_audio_sys
allegro_color
allegro_color_sys
allegro_dialog
allegro_dialog_sys
allegro_font
allegro_font_sys
allegro_image
allegro_image_sys
allegro_memfile_sys
allegro_primitives
allegro_primitives_sys
allegro_sys
allegro_ttf
allegro_ttf_sys
allegro_util
lazy_static
libc
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2014 by SiegeLord
//
// All rights reserved. Distributed under ZLib. For full terms see the file LICENSE.

#[macro_export]
macro_rules! allegro_main
{
	(^tt_expander $e:expr) => {$e};
	($($x:tt)*) =>
	{
		fn main()
		{
			allegro::run(user_main)
		}

		fn user_main()
		{
			allegro_main!(^tt_expander { $($x)* })
		}
	}
}