cinap_lenrekadd hg and python4bb9e2215 years agoHistory
7628 lines · 160.3 KB · C
RawDownload
	long arg3 ;	float * arg4 ;	if (!getilongarg(args, 3, 0, &arg1))		return NULL;	if (!getilongarg(args, 3, 1, &arg2))		return NULL;	if (!getilongarraysize(args, 3, 2, &arg3))		return NULL;	if ((arg4 = PyMem_NEW(float , arg3 )) == NULL)		return PyErr_NoMemory();	if (!getifloatarray(args, 3, 2, arg3 , arg4))		return NULL;	lmdef( arg1 , arg2 , arg3 , arg4 );	PyMem_DEL(arg4);	Py_INCREF(Py_None);	return Py_None;} /* void mmode long s */ static PyObject *gl_mmode(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	mmode( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void normal float s[3] */ static PyObject *gl_normal(PyObject *self, PyObject *args){	float arg1 [ 3 ] ;	if (!getifloatarray(args, 1, 0, 3 , arg1))		return NULL;	normal( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void overlay long s */ static PyObject *gl_overlay(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	overlay( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void RGBrange short s short s short s short s short s short s short s short s */ static PyObject *gl_RGBrange(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	short arg3 ;	short arg4 ;	short arg5 ;	short arg6 ;	short arg7 ;	short arg8 ;	if (!getishortarg(args, 8, 0, &arg1))		return NULL;	if (!getishortarg(args, 8, 1, &arg2))		return NULL;	if (!getishortarg(args, 8, 2, &arg3))		return NULL;	if (!getishortarg(args, 8, 3, &arg4))		return NULL;	if (!getishortarg(args, 8, 4, &arg5))		return NULL;	if (!getishortarg(args, 8, 5, &arg6))		return NULL;	if (!getishortarg(args, 8, 6, &arg7))		return NULL;	if (!getishortarg(args, 8, 7, &arg8))		return NULL;	RGBrange( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 );	Py_INCREF(Py_None);	return Py_None;} /* void setvideo long s long s */ static PyObject *gl_setvideo(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	setvideo( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void shademodel long s */ static PyObject *gl_shademodel(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	shademodel( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void underlay long s */ static PyObject *gl_underlay(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	underlay( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void bgnclosedline */ static PyObject *gl_bgnclosedline(PyObject *self, PyObject *args){	bgnclosedline( );	Py_INCREF(Py_None);	return Py_None;} /* void bgnline */ static PyObject *gl_bgnline(PyObject *self, PyObject *args){	bgnline( );	Py_INCREF(Py_None);	return Py_None;} /* void bgnpoint */ static PyObject *gl_bgnpoint(PyObject *self, PyObject *args){	bgnpoint( );	Py_INCREF(Py_None);	return Py_None;} /* void bgnpolygon */ static PyObject *gl_bgnpolygon(PyObject *self, PyObject *args){	bgnpolygon( );	Py_INCREF(Py_None);	return Py_None;} /* void bgnsurface */ static PyObject *gl_bgnsurface(PyObject *self, PyObject *args){	bgnsurface( );	Py_INCREF(Py_None);	return Py_None;} /* void bgntmesh */ static PyObject *gl_bgntmesh(PyObject *self, PyObject *args){	bgntmesh( );	Py_INCREF(Py_None);	return Py_None;} /* void bgntrim */ static PyObject *gl_bgntrim(PyObject *self, PyObject *args){	bgntrim( );	Py_INCREF(Py_None);	return Py_None;} /* void endclosedline */ static PyObject *gl_endclosedline(PyObject *self, PyObject *args){	endclosedline( );	Py_INCREF(Py_None);	return Py_None;} /* void endline */ static PyObject *gl_endline(PyObject *self, PyObject *args){	endline( );	Py_INCREF(Py_None);	return Py_None;} /* void endpoint */ static PyObject *gl_endpoint(PyObject *self, PyObject *args){	endpoint( );	Py_INCREF(Py_None);	return Py_None;} /* void endpolygon */ static PyObject *gl_endpolygon(PyObject *self, PyObject *args){	endpolygon( );	Py_INCREF(Py_None);	return Py_None;} /* void endsurface */ static PyObject *gl_endsurface(PyObject *self, PyObject *args){	endsurface( );	Py_INCREF(Py_None);	return Py_None;} /* void endtmesh */ static PyObject *gl_endtmesh(PyObject *self, PyObject *args){	endtmesh( );	Py_INCREF(Py_None);	return Py_None;} /* void endtrim */ static PyObject *gl_endtrim(PyObject *self, PyObject *args){	endtrim( );	Py_INCREF(Py_None);	return Py_None;} /* void blendfunction long s long s */ static PyObject *gl_blendfunction(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	blendfunction( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void c3f float s[3] */ static PyObject *gl_c3f(PyObject *self, PyObject *args){	float arg1 [ 3 ] ;	if (!getifloatarray(args, 1, 0, 3 , arg1))		return NULL;	c3f( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void c3i long s[3] */ static PyObject *gl_c3i(PyObject *self, PyObject *args){	long arg1 [ 3 ] ;	if (!getilongarray(args, 1, 0, 3 , arg1))		return NULL;	c3i( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void c3s short s[3] */ static PyObject *gl_c3s(PyObject *self, PyObject *args){	short arg1 [ 3 ] ;	if (!getishortarray(args, 1, 0, 3 , arg1))		return NULL;	c3s( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void c4f float s[4] */ static PyObject *gl_c4f(PyObject *self, PyObject *args){	float arg1 [ 4 ] ;	if (!getifloatarray(args, 1, 0, 4 , arg1))		return NULL;	c4f( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void c4i long s[4] */ static PyObject *gl_c4i(PyObject *self, PyObject *args){	long arg1 [ 4 ] ;	if (!getilongarray(args, 1, 0, 4 , arg1))		return NULL;	c4i( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void c4s short s[4] */ static PyObject *gl_c4s(PyObject *self, PyObject *args){	short arg1 [ 4 ] ;	if (!getishortarray(args, 1, 0, 4 , arg1))		return NULL;	c4s( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void colorf float s */ static PyObject *gl_colorf(PyObject *self, PyObject *args){	float arg1 ;	if (!getifloatarg(args, 1, 0, &arg1))		return NULL;	colorf( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void cpack long s */ static PyObject *gl_cpack(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	cpack( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void czclear long s long s */ static PyObject *gl_czclear(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	czclear( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void dglclose long s */ static PyObject *gl_dglclose(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	dglclose( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* long dglopen char *s long s */ static PyObject *gl_dglopen(PyObject *self, PyObject *args){	long retval;	string arg1 ;	long arg2 ;	if (!getistringarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	retval = dglopen( arg1 , arg2 );	return mknewlongobject(retval);} /* long getgdesc long s */ static PyObject *gl_getgdesc(PyObject *self, PyObject *args){	long retval;	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	retval = getgdesc( arg1 );	return mknewlongobject(retval);} /* void getnurbsproperty long s float r */ static PyObject *gl_getnurbsproperty(PyObject *self, PyObject *args){	long arg1 ;	float arg2 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	getnurbsproperty( arg1 , & arg2 );	return mknewfloatobject(arg2);} /* void glcompat long s long s */ static PyObject *gl_glcompat(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	glcompat( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void iconsize long s long s */ static PyObject *gl_iconsize(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	iconsize( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void icontitle char *s */ static PyObject *gl_icontitle(PyObject *self, PyObject *args)

Lines 6001–6500 of 7628. Previous lines