Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 115 lines (107 sloc) 2.304 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
741bcb0 added SDL_keysym struct
Tobias Leich authored
12 SDLKey * T_PTR
13 SDLMod T_UV
14 SDLMod * T_PTR
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
15 Sint16 T_IV
16 Sint16 * T_PTR
17 Sint32 T_IV
18 Sint32 * T_PTR
19 SDL_Event * T_PTR
3f36fc2 @kthakore Fix of typemap for Event objects
kthakore authored
20 SDL_ActiveEvent * O_OBJECT
21 SDL_KeyboardEvent * O_OBJECT
22 SDL_TextInputEvent * O_OBJECT
23 SDL_MouseMotionEvent * O_OBJECT
24 SDL_MouseButtonEvent * O_OBJECT
25 SDL_JoyAxisEvent * O_OBJECT
26 SDL_JoyHatEvent * O_OBJECT
87d11e7 @kthakore Fixed JoyButtonEvent
kthakore authored
27 SDL_JoyButtonEvent * O_OBJECT
3f36fc2 @kthakore Fix of typemap for Event objects
kthakore authored
28 SDL_JoyBallEvent * O_OBJECT
29 SDL_ResizeEvent * O_OBJECT
30 SDL_ExposeEvent * O_OBJECT
31 SDL_SysWMEvent * O_OBJECT
32 SDL_UserEvent * O_OBJECT
33 SDL_QuitEvent * O_OBJECT
34 SDL_keysym * O_OBJECT
88a46ef @acme try seperating out surface - not quite working yet
acme authored
35 SDL_Surface * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
36 SDL_SysWMmsg * T_PTR
37 SDL_CD * T_PTR
38 SDL_CDtrack * T_PTR
39 SDL_TimerCallback T_PTR
e4ab5b2 @kthakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
40 SDL_Rect * O_OBJECT
3e3f41e @acme Split out SDL_Color into its own C-level class
acme authored
41 SDL_Color * O_OBJECT
1be4c6f @kthakore Should never malloc SDL_Pallete
kthakore authored
42 SDL_Palette * O_OBJECT
50d9130 @acme Wrap PixelFormat
acme authored
43 SDL_PixelFormat * O_OBJECT
f1ad86b @kthakore Added VideoInfo as an object with appropriate docs
kthakore authored
44 SDL_VideoInfo * O_OBJECT
ce88b52 @acme Wrap SDL_version
acme authored
45 SDL_version * O_OBJECT
4bd2d74 @kthakore Typo fixes. NULL is a pointer cannot be assinged to integer value.
kthakore authored
46 SDL_SysWMInfo * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
47 SDL_Cursor * T_PTR
48 SDL_AudioSpec * T_PTR
49 SDL_AudioCVT * T_PTR
50 Mix_Fading T_UV
42bd71c @acme Implement MixChunk
acme authored
51 Mix_Chunk * O_OBJECT
47cda86 @acme Implement MixMusic
acme authored
52 Mix_Music * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
53 SDL_GLattr T_IV
54 int * T_PTR
55 void * T_PTR
56 SDL_TimerID T_PTR
57 SDL_NewTimerCallback T_PTR
58 SDL_Joystick * T_PTR
59 SDLNet_SocketSet T_PTR
60 TCPsocket T_PTR
61 UDPsocket T_PTR
62 UDPpacket * T_PTR
63 UDPpacket ** T_PTR
64 IPaddress* T_PTR
65 SDLNet_GenericSocket T_PTR
b41abbd @acme Wrap TTF_Font with a few calls
acme authored
66 TTF_Font * O_OBJECT
fcd68a9 @kthakore Mare Overlay an object with new and DESTROY. Bootstrapper made to
kthakore authored
67 SDL_Overlay * O_OBJECT
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
68 SMPEG_Info * T_PTR
69 SMPEG * T_PTR
70 SMPEGstatus T_IV
71 SDL_mutex * T_PTR
72 GLbitfield T_IV
73 GLenum T_IV
74 ConsoleInformation * T_PTR
75 GLboolean T_U_CHAR
45f7368 @kthakore Added types for GLU and Tels Faster color function
kthakore authored
76 GLUquadric * T_PTR
77 GLdouble T_NV
bfd9040 @cthulhuology Importing SDLPerl 2.2
cthulhuology authored
78 GLUnurbsObj * T_PTR
79 GLUtesselator * T_PTR
80 GLuint T_UV
81 GLuint* T_PTR
82 GLint T_IV
83 GLint* T_PTR
84 float * T_PTR
85 float T_NV
86 GLfloat T_NV
87 Sound_DecoderInfo * T_PTR
88 const Sound_DecoderInfo * T_PTR
89 Sound_Sample * T_PTR
90 Sound_AudioInfo * T_PTR
91 SDL_RWops* T_PTR
92 SDL_svg_context* T_PTR
5e9f278 @kthakore Added in Video.XS set_gamma, and stub for set_gamma_ramp. Added test …
kthakore authored
93 int T_IV
e4ab5b2 @kthakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
94
95 OUTPUT
96
97 # The Perl object is blessed into 'CLASS', which should be a
98 # char* having the name of the package for the blessing.
99 O_OBJECT
100 sv_setref_pv( $arg, CLASS, (void*)$var );
101
102
103 INPUT
104
105 O_OBJECT
106 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
107 { $var = ($type)SvIV((SV*)SvRV( $arg )); }
108 else if ($arg == 0)
109 { XSRETURN(0); }
e4ab5b2 @kthakore Using new Rect with v2.2.2.11. Had to change getClipRect paramters.
kthakore authored
110 else{
111 XSRETURN_UNDEF;
112 }
113
114
Something went wrong with that request. Please try again.