2020-04-01 13:55:11 +02:00
|
|
|
#![allow(dead_code)]
|
|
|
|
#![allow(mutable_transmutes)]
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
#![allow(non_snake_case)]
|
|
|
|
#![allow(non_upper_case_globals)]
|
|
|
|
#![allow(unused_assignments)]
|
|
|
|
#![allow(unused_mut)]
|
2020-04-17 13:12:00 +02:00
|
|
|
#![cross_check(yes)]
|
2020-04-01 13:55:11 +02:00
|
|
|
#![feature(asm)]
|
|
|
|
#![feature(c_variadic)]
|
|
|
|
#![feature(const_raw_ptr_to_usize_cast)]
|
|
|
|
#![feature(extern_types)]
|
|
|
|
#![feature(main)]
|
2020-04-17 13:12:00 +02:00
|
|
|
#![feature(plugin)]
|
2020-04-01 13:55:11 +02:00
|
|
|
#![feature(ptr_wrapping_offset_from)]
|
|
|
|
#![feature(register_tool)]
|
|
|
|
#![register_tool(c2rust)]
|
|
|
|
|
2020-04-17 13:12:00 +02:00
|
|
|
|
2020-04-01 13:55:11 +02:00
|
|
|
#[macro_use]
|
2020-04-17 13:12:00 +02:00
|
|
|
extern crate c2rust_bitfields;#[macro_use]
|
2020-04-01 13:55:11 +02:00
|
|
|
extern crate c2rust_asm_casts;
|
|
|
|
extern crate libc;
|
|
|
|
|
2020-04-17 13:12:00 +02:00
|
|
|
#![plugin(c2rust_xcheck_plugin())]
|
|
|
|
#[macro_use] extern crate c2rust_xcheck_derive;
|
|
|
|
#[macro_use] extern crate c2rust_xcheck_runtime;
|
|
|
|
extern crate c2rust_xcheck_backend_zstd_logging;
|
|
|
|
|
|
|
|
#[global_allocator]
|
|
|
|
static C2RUST_ALLOC: ::std::alloc::System = ::std::alloc::System;
|
|
|
|
|
2020-04-01 13:55:11 +02:00
|
|
|
pub mod src {
|
2020-04-17 13:12:00 +02:00
|
|
|
pub mod buffer;
|
|
|
|
pub mod decode;
|
|
|
|
pub mod faad;
|
|
|
|
pub mod flac;
|
|
|
|
pub mod mad;
|
|
|
|
pub mod main;
|
|
|
|
pub mod mpg;
|
|
|
|
pub mod output;
|
|
|
|
pub mod output_alsa;
|
|
|
|
pub mod output_pa;
|
|
|
|
pub mod output_pack;
|
|
|
|
pub mod output_pulse;
|
|
|
|
pub mod output_stdout;
|
|
|
|
pub mod pcm;
|
|
|
|
pub mod slimproto;
|
|
|
|
pub mod stream;
|
|
|
|
pub mod utils;
|
|
|
|
pub mod vorbis;
|
2020-04-01 13:55:11 +02:00
|
|
|
} // mod src
|
2020-04-17 13:12:00 +02:00
|
|
|
|