Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 96 lines (88 sloc) 1.797 kB
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
1 TYPEMAP
2 const Uint16 * T_PTR
3 Uint8 T_U_CHAR
4 Uint8 * T_PTR
5 const Uint8* T_PTR
6 Uint8 ** T_PTR
7 Uint16 T_UV
8 Uint16 * T_PTR
9 Uint32 T_UV
10 Uint32 * T_PTR
11 SDLKey T_UV
12 Sint16 T_IV
13 Sint16 * T_PTR
14 Sint32 T_IV
15 Sint32 * T_PTR
16 SDL_Event * T_PTR
88a46ef @acme try seperating out surface - not quite working yet
acme authored
17 SDL_Surface * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
18 SDL_SysWMmsg * T_PTR
19 SDL_CD * T_PTR
20 SDL_CDtrack * T_PTR
21 SDL_TimerCallback T_PTR
e4ab5b2 @kthakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
22 SDL_Rect * O_OBJECT
3e3f41e @acme Split out SDL_Color into its own C-level class
acme authored
23 SDL_Color * O_OBJECT
1be4c6f @kthakore Should never malloc SDL_Pallete
kthakore authored
24 SDL_Palette * O_OBJECT
50d9130 @acme Wrap PixelFormat
acme authored
25 SDL_PixelFormat * O_OBJECT
f1ad86b @kthakore Added VideoInfo as an object with appropriate docs
kthakore authored
26 SDL_VideoInfo * O_OBJECT
ce88b52 @acme Wrap SDL_version
acme authored
27 SDL_version * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
28 SDL_Cursor * T_PTR
29 SDL_AudioSpec * T_PTR
30 SDL_AudioCVT * T_PTR
31 Mix_Fading T_UV
32 Mix_Chunk * T_PTR
33 Mix_Music * T_PTR
34 SDL_GLattr T_IV
35 int * T_PTR
36 void * T_PTR
37 SDL_TimerID T_PTR
38 SDL_NewTimerCallback T_PTR
39 SDL_Joystick * T_PTR
40 SDLNet_SocketSet T_PTR
41 TCPsocket T_PTR
42 UDPsocket T_PTR
43 UDPpacket * T_PTR
44 UDPpacket ** T_PTR
45 IPaddress* T_PTR
46 SDLNet_GenericSocket T_PTR
b41abbd @acme Wrap TTF_Font with a few calls
acme authored
47 TTF_Font * O_OBJECT
fcd68a9 @kthakore Mare Overlay an object with new and DESTROY. Bootstrapper made to
kthakore authored
48 SDL_Overlay * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
49 SMPEG_Info * T_PTR
50 SMPEG * T_PTR
51 SMPEGstatus T_IV
52 SDL_mutex * T_PTR
53 GLbitfield T_IV
54 GLenum T_IV
55 ConsoleInformation * T_PTR
56 GLboolean T_U_CHAR
45f7368 @kthakore Added types for GLU and Tels Faster color function
kthakore authored
57 GLUquadric * T_PTR
58 GLdouble T_NV
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
59 GLUnurbsObj * T_PTR
60 GLUtesselator * T_PTR
61 GLuint T_UV
62 GLuint* T_PTR
63 GLint T_IV
64 GLint* T_PTR
65 float * T_PTR
66 float T_NV
67 GLfloat T_NV
68 Sound_DecoderInfo * T_PTR
69 const Sound_DecoderInfo * T_PTR
70 Sound_Sample * T_PTR
71 Sound_AudioInfo * T_PTR
72 SDL_RWops* T_PTR
73 SDL_svg_context* T_PTR
5e9f278 @kthakore Added in Video.XS set_gamma, and stub for set_gamma_ramp. Added test …
kthakore authored
74 int T_IV
e4ab5b2 @kthakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
75
76 OUTPUT
77
78 # The Perl object is blessed into 'CLASS', which should be a
79 # char* having the name of the package for the blessing.
80 O_OBJECT
81 sv_setref_pv( $arg, CLASS, (void*)$var );
82
83
84 INPUT
85
86 O_OBJECT
87 if( sv_isobject($arg) && (SvTYPE(SvRV($arg)) == SVt_PVMG) )
4510df2 @kthakore Added fix for SDL::Surface->format. Fixed test and typemap if SDL::NU…
kthakore authored
88 { $var = ($type)SvIV((SV*)SvRV( $arg )); }
89 else if ($arg == 0)
90 { XSRETURN(0); }
e4ab5b2 @kthakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
91 else{
92 XSRETURN_UNDEF;
93 }
94
95
Something went wrong with that request. Please try again.