cinap_lenrekadd hg and python4bb9e2215 years agoHistory
7628 lines · 160.3 KB · C
RawDownload
{	string arg1 ;	if (!getistringarg(args, 1, 0, &arg1))		return NULL;	icontitle( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void lRGBrange short s short s short s short s short s short s long s long s */ static PyObject *gl_lRGBrange(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	short arg3 ;	short arg4 ;	short arg5 ;	short arg6 ;	long arg7 ;	long 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 (!getilongarg(args, 8, 6, &arg7))		return NULL;	if (!getilongarg(args, 8, 7, &arg8))		return NULL;	lRGBrange( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 , arg7 , arg8 );	Py_INCREF(Py_None);	return Py_None;} /* void linesmooth long s */ static PyObject *gl_linesmooth(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	linesmooth( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void lmcolor long s */ static PyObject *gl_lmcolor(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	lmcolor( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void logicop long s */ static PyObject *gl_logicop(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	logicop( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void lsetdepth long s long s */ static PyObject *gl_lsetdepth(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getilongarg(args, 2, 1, &arg2))		return NULL;	lsetdepth( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void lshaderange short s short s long s long s */ static PyObject *gl_lshaderange(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	long arg3 ;	long arg4 ;	if (!getishortarg(args, 4, 0, &arg1))		return NULL;	if (!getishortarg(args, 4, 1, &arg2))		return NULL;	if (!getilongarg(args, 4, 2, &arg3))		return NULL;	if (!getilongarg(args, 4, 3, &arg4))		return NULL;	lshaderange( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void n3f float s[3] */ static PyObject *gl_n3f(PyObject *self, PyObject *args){	float arg1 [ 3 ] ;	if (!getifloatarray(args, 1, 0, 3 , arg1))		return NULL;	n3f( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void noborder */ static PyObject *gl_noborder(PyObject *self, PyObject *args){	noborder( );	Py_INCREF(Py_None);	return Py_None;} /* void pntsmooth long s */ static PyObject *gl_pntsmooth(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	pntsmooth( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void readsource long s */ static PyObject *gl_readsource(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	readsource( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void rectzoom float s float s */ static PyObject *gl_rectzoom(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	if (!getifloatarg(args, 2, 0, &arg1))		return NULL;	if (!getifloatarg(args, 2, 1, &arg2))		return NULL;	rectzoom( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void sbox float s float s float s float s */ static PyObject *gl_sbox(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	float arg4 ;	if (!getifloatarg(args, 4, 0, &arg1))		return NULL;	if (!getifloatarg(args, 4, 1, &arg2))		return NULL;	if (!getifloatarg(args, 4, 2, &arg3))		return NULL;	if (!getifloatarg(args, 4, 3, &arg4))		return NULL;	sbox( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void sboxi long s long s long s long s */ static PyObject *gl_sboxi(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	long arg3 ;	long arg4 ;	if (!getilongarg(args, 4, 0, &arg1))		return NULL;	if (!getilongarg(args, 4, 1, &arg2))		return NULL;	if (!getilongarg(args, 4, 2, &arg3))		return NULL;	if (!getilongarg(args, 4, 3, &arg4))		return NULL;	sboxi( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void sboxs short s short s short s short s */ static PyObject *gl_sboxs(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	short arg3 ;	short arg4 ;	if (!getishortarg(args, 4, 0, &arg1))		return NULL;	if (!getishortarg(args, 4, 1, &arg2))		return NULL;	if (!getishortarg(args, 4, 2, &arg3))		return NULL;	if (!getishortarg(args, 4, 3, &arg4))		return NULL;	sboxs( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void sboxf float s float s float s float s */ static PyObject *gl_sboxf(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	float arg4 ;	if (!getifloatarg(args, 4, 0, &arg1))		return NULL;	if (!getifloatarg(args, 4, 1, &arg2))		return NULL;	if (!getifloatarg(args, 4, 2, &arg3))		return NULL;	if (!getifloatarg(args, 4, 3, &arg4))		return NULL;	sboxf( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void sboxfi long s long s long s long s */ static PyObject *gl_sboxfi(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	long arg3 ;	long arg4 ;	if (!getilongarg(args, 4, 0, &arg1))		return NULL;	if (!getilongarg(args, 4, 1, &arg2))		return NULL;	if (!getilongarg(args, 4, 2, &arg3))		return NULL;	if (!getilongarg(args, 4, 3, &arg4))		return NULL;	sboxfi( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void sboxfs short s short s short s short s */ static PyObject *gl_sboxfs(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	short arg3 ;	short arg4 ;	if (!getishortarg(args, 4, 0, &arg1))		return NULL;	if (!getishortarg(args, 4, 1, &arg2))		return NULL;	if (!getishortarg(args, 4, 2, &arg3))		return NULL;	if (!getishortarg(args, 4, 3, &arg4))		return NULL;	sboxfs( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void setnurbsproperty long s float s */ static PyObject *gl_setnurbsproperty(PyObject *self, PyObject *args){	long arg1 ;	float arg2 ;	if (!getilongarg(args, 2, 0, &arg1))		return NULL;	if (!getifloatarg(args, 2, 1, &arg2))		return NULL;	setnurbsproperty( arg1 , arg2 );	Py_INCREF(Py_None);	return Py_None;} /* void setpup long s long s long s */ static PyObject *gl_setpup(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	long arg3 ;	if (!getilongarg(args, 3, 0, &arg1))		return NULL;	if (!getilongarg(args, 3, 1, &arg2))		return NULL;	if (!getilongarg(args, 3, 2, &arg3))		return NULL;	setpup( arg1 , arg2 , arg3 );	Py_INCREF(Py_None);	return Py_None;} /* void smoothline long s */ static PyObject *gl_smoothline(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	smoothline( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void subpixel long s */ static PyObject *gl_subpixel(PyObject *self, PyObject *args){	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	subpixel( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void swaptmesh */ static PyObject *gl_swaptmesh(PyObject *self, PyObject *args){	swaptmesh( );	Py_INCREF(Py_None);	return Py_None;} /* long swinopen long s */ static PyObject *gl_swinopen(PyObject *self, PyObject *args){	long retval;	long arg1 ;	if (!getilongarg(args, 1, 0, &arg1))		return NULL;	retval = swinopen( arg1 );	return mknewlongobject(retval);} /* void v2f float s[2] */ static PyObject *gl_v2f(PyObject *self, PyObject *args){	float arg1 [ 2 ] ;	if (!getifloatarray(args, 1, 0, 2 , arg1))		return NULL;	v2f( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v2i long s[2] */ static PyObject *gl_v2i(PyObject *self, PyObject *args){	long arg1 [ 2 ] ;	if (!getilongarray(args, 1, 0, 2 , arg1))		return NULL;	v2i( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v2s short s[2] */ static PyObject *gl_v2s(PyObject *self, PyObject *args){	short arg1 [ 2 ] ;	if (!getishortarray(args, 1, 0, 2 , arg1))		return NULL;	v2s( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v3f float s[3] */ static PyObject *gl_v3f(PyObject *self, PyObject *args){	float arg1 [ 3 ] ;	if (!getifloatarray(args, 1, 0, 3 , arg1))		return NULL;	v3f( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v3i long s[3] */ static PyObject *gl_v3i(PyObject *self, PyObject *args){	long arg1 [ 3 ] ;	if (!getilongarray(args, 1, 0, 3 , arg1))		return NULL;	v3i( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v3s short s[3] */ static PyObject *gl_v3s(PyObject *self, PyObject *args){	short arg1 [ 3 ] ;	if (!getishortarray(args, 1, 0, 3 , arg1))		return NULL;	v3s( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v4f float s[4] */ static PyObject *gl_v4f(PyObject *self, PyObject *args){	float arg1 [ 4 ] ;	if (!getifloatarray(args, 1, 0, 4 , arg1))		return NULL;	v4f( arg1 );	Py_INCREF(Py_None);	return Py_None;} /* void v4i long s[4] */ static PyObject *gl_v4i(PyObject *self, PyObject *args){	long arg1 [ 4 ] ;	if (!getilongarray(args, 1, 0, 4 , arg1))		return NULL;

Lines 6501–7000 of 7628. Previous lines