mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
add module doc str to file top
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
//! Framerate control
|
||||
|
||||
use libc;
|
||||
use libc::{c_void, uint32_t, malloc};
|
||||
use std::mem;
|
||||
|
||||
|
||||
mod ll {
|
||||
/* automatically generated by rust-bindgen */
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! MMX image filters
|
||||
|
||||
use std::cast;
|
||||
use std::c_vec::CVec;
|
||||
use libc;
|
||||
|
||||
@@ -17,9 +17,6 @@ extern crate sdl2;
|
||||
#[link(name="SDL2_gfx")]
|
||||
extern {}
|
||||
|
||||
|
||||
//#[allow(non_camel_case_types, dead_code)]
|
||||
|
||||
pub mod primitives;
|
||||
pub mod rotozoom;
|
||||
pub mod framerate;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Surface Rotozoomer
|
||||
|
||||
use libc::c_int;
|
||||
use sdl2::surface::Surface;
|
||||
pub use std::f64::consts::PI;
|
||||
|
||||
Reference in New Issue
Block a user