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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/* automatically generated by rust-bindgen */

use crate::*;

pub type __uint8_t = libc::c_uchar;
pub type __uint32_t = libc::c_uint;
pub type Uint8 = u8;
pub type Uint32 = u32;
extern "C" {
    pub fn rotozoomSurface(
        src: *mut SDL_Surface,
        angle: f64,
        zoom: f64,
        smooth: libc::c_int,
    ) -> *mut SDL_Surface;
}
extern "C" {
    pub fn rotozoomSurfaceXY(
        src: *mut SDL_Surface,
        angle: f64,
        zoomx: f64,
        zoomy: f64,
        smooth: libc::c_int,
    ) -> *mut SDL_Surface;
}
extern "C" {
    pub fn rotozoomSurfaceSize(
        width: libc::c_int,
        height: libc::c_int,
        angle: f64,
        zoom: f64,
        dstwidth: *mut libc::c_int,
        dstheight: *mut libc::c_int,
    );
}
extern "C" {
    pub fn rotozoomSurfaceSizeXY(
        width: libc::c_int,
        height: libc::c_int,
        angle: f64,
        zoomx: f64,
        zoomy: f64,
        dstwidth: *mut libc::c_int,
        dstheight: *mut libc::c_int,
    );
}
extern "C" {
    pub fn zoomSurface(
        src: *mut SDL_Surface,
        zoomx: f64,
        zoomy: f64,
        smooth: libc::c_int,
    ) -> *mut SDL_Surface;
}
extern "C" {
    pub fn zoomSurfaceSize(
        width: libc::c_int,
        height: libc::c_int,
        zoomx: f64,
        zoomy: f64,
        dstwidth: *mut libc::c_int,
        dstheight: *mut libc::c_int,
    );
}
extern "C" {
    pub fn shrinkSurface(
        src: *mut SDL_Surface,
        factorx: libc::c_int,
        factory: libc::c_int,
    ) -> *mut SDL_Surface;
}
extern "C" {
    pub fn rotateSurface90Degrees(
        src: *mut SDL_Surface,
        numClockwiseTurns: libc::c_int,
    ) -> *mut SDL_Surface;
}