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
// Copyright (c) 2014 by SiegeLord
//
// All rights reserved. Distributed under ZLib. For full terms see the file LICENSE.

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

#![feature(libc)]

extern crate libc;

pub use allegro_image::*;

mod rust_util;

pub mod allegro_image
{
	use libc::*;
	use rust_util::c_bool;

	extern "C"
	{
		pub fn al_init_image_addon() -> c_bool;
		pub fn al_shutdown_image_addon();
		pub fn al_get_allegro_image_version() -> uint32_t;
	}
}