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
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![doc = include_str!("../README.md")]
mod bindings;
mod bitmap;
mod chat;
mod command;
mod constants;
mod core;
mod entity;
mod event;
mod graphics;
mod input;
mod inventory;
mod math;
mod model;
mod packed_col;
mod particle;
pub mod screen;
mod string;
mod vectors;
mod world;
pub use crate::{
bindings::*, bitmap::*, chat::*, command::*, constants::*, core::*, entity::*, event::*,
graphics::*, input::*, inventory::*, math::*, model::*, packed_col::*, particle::*,
screen::OwnedScreen, string::*, vectors::*, world::*,
};
#[cfg(target_os = "windows")]
#[test]
fn test_dllimport_linking() {
unsafe {
println!("{:?}", &Server as *const _);
}
}