codespawn 0.2.0

C++ and Rust code generator. Supports XML and JSON for API definitions.
Documentation
// !!! Autogenerated with codespawn (0.2.0) - do not modify. !!!
pub extern void_ptr: *mut c_void;
pub const some_number: c_int = 1;

#[repr(C)]
#[derive(Debug)]
pub enum GenericEnum {
	EnumVal1,
	EnumVal2,
	Count = 2 as c_int,
}

bitflags! {
	#[repr(C)]
	#[derive(Debug)]
	flags SampleBitflags: c_int {
		const FIELD1 = 1 as c_int,
		const FIELD2 = 2 as c_int,
	}
}

pub get_ascii: fn(letter: char&, callback: extern fn(code: c_int) -> bool) -> c_int;
pub process_func: static fn() -> c_void;
pub func_ptr: extern fn() -> c_int;
pub f_ptr: extern fn(fmt: const int*, fptr_arg: extern fn(char&) -> c_void) -> c_void;
// !!! End of autogenerated data. !!!