File: typemap

package info (click to toggle)
libopengl-perl 0.7000%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,308 kB
  • sloc: perl: 10,178; ansic: 8,576; makefile: 113
file content (41 lines) | stat: -rwxr-xr-x 626 bytes parent folder | download | duplicates (2)
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
TYPEMAP

const unsigned char *	T_PV

Display *		T_PTR
GLsizei			T_INT
GLfloat			T_FLOAT
GLdouble		T_DOUBLE
GLclampf		T_FLOAT
GLclampd		T_DOUBLE
GLint			T_INT
GLuint			T_U_INT
GLushort		T_U_SHORT
GLint			T_INT
GLbyte			T_INT
GLubyte			T_U_INT
GLshort			T_SHORT
GLboolean		T_BOOL
GLenum			T_INT
GLbitfield		T_INT
GLcharARB		T_CHAR
GLhandleARB		T_U_INT

GLUnurbsObj *		T_PTROBJ
GLUquadricObj *		T_PTROBJ
PGLUtess *		T_PTROBJ

OpenGL::Array		T_PTROBJ
OpenGL::Matrix 		T_PTROBJ

GLXDrawable		T_PTR

INPUT

T_FASTPTROBJ
        $var = INT2PTR($type,SvIV($arg));

OUTPUT

T_FASTPTROBJ
	sv_setref_pv($arg, \"${ntype}\", (void*)$var);