cinap_lenrekadd hg and python4bb9e2215 years agoHistory
7628 lines · 160.3 KB · C
RawDownload
	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;	mapcolor( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void scrmask short s short s short s short s */ static PyObject *gl_scrmask(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;	scrmask( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void setvaluator short s short s short s short s */ static PyObject *gl_setvaluator(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;	setvaluator( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void viewport short s short s short s short s */ static PyObject *gl_viewport(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;	viewport( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void shaderange short s short s short s short s */ static PyObject *gl_shaderange(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;	shaderange( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void xfpt4s short s short s short s short s */ static PyObject *gl_xfpt4s(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;	xfpt4s( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void rectfi long s long s long s long s */ static PyObject *gl_rectfi(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;	rectfi( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void recti long s long s long s long s */ static PyObject *gl_recti(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;	recti( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void xfpt4i long s long s long s long s */ static PyObject *gl_xfpt4i(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;	xfpt4i( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void prefposition long s long s long s long s */ static PyObject *gl_prefposition(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;	prefposition( arg1 , arg2 , arg3 , arg4 );	Py_INCREF(Py_None);	return Py_None;} /* void arc float s float s float s short s short s */ static PyObject *gl_arc(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	short arg4 ;	short arg5 ;	if (!getifloatarg(args, 5, 0, &arg1))		return NULL;	if (!getifloatarg(args, 5, 1, &arg2))		return NULL;	if (!getifloatarg(args, 5, 2, &arg3))		return NULL;	if (!getishortarg(args, 5, 3, &arg4))		return NULL;	if (!getishortarg(args, 5, 4, &arg5))		return NULL;	arc( arg1 , arg2 , arg3 , arg4 , arg5 );	Py_INCREF(Py_None);	return Py_None;} /* void arcf float s float s float s short s short s */ static PyObject *gl_arcf(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	short arg4 ;	short arg5 ;	if (!getifloatarg(args, 5, 0, &arg1))		return NULL;	if (!getifloatarg(args, 5, 1, &arg2))		return NULL;	if (!getifloatarg(args, 5, 2, &arg3))		return NULL;	if (!getishortarg(args, 5, 3, &arg4))		return NULL;	if (!getishortarg(args, 5, 4, &arg5))		return NULL;	arcf( arg1 , arg2 , arg3 , arg4 , arg5 );	Py_INCREF(Py_None);	return Py_None;} /* void arcfi long s long s long s short s short s */ static PyObject *gl_arcfi(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	long arg3 ;	short arg4 ;	short arg5 ;	if (!getilongarg(args, 5, 0, &arg1))		return NULL;	if (!getilongarg(args, 5, 1, &arg2))		return NULL;	if (!getilongarg(args, 5, 2, &arg3))		return NULL;	if (!getishortarg(args, 5, 3, &arg4))		return NULL;	if (!getishortarg(args, 5, 4, &arg5))		return NULL;	arcfi( arg1 , arg2 , arg3 , arg4 , arg5 );	Py_INCREF(Py_None);	return Py_None;} /* void arci long s long s long s short s short s */ static PyObject *gl_arci(PyObject *self, PyObject *args){	long arg1 ;	long arg2 ;	long arg3 ;	short arg4 ;	short arg5 ;	if (!getilongarg(args, 5, 0, &arg1))		return NULL;	if (!getilongarg(args, 5, 1, &arg2))		return NULL;	if (!getilongarg(args, 5, 2, &arg3))		return NULL;	if (!getishortarg(args, 5, 3, &arg4))		return NULL;	if (!getishortarg(args, 5, 4, &arg5))		return NULL;	arci( arg1 , arg2 , arg3 , arg4 , arg5 );	Py_INCREF(Py_None);	return Py_None;} /* void bbox2 short s short s float s float s float s float s */ static PyObject *gl_bbox2(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	float arg3 ;	float arg4 ;	float arg5 ;	float arg6 ;	if (!getishortarg(args, 6, 0, &arg1))		return NULL;	if (!getishortarg(args, 6, 1, &arg2))		return NULL;	if (!getifloatarg(args, 6, 2, &arg3))		return NULL;	if (!getifloatarg(args, 6, 3, &arg4))		return NULL;	if (!getifloatarg(args, 6, 4, &arg5))		return NULL;	if (!getifloatarg(args, 6, 5, &arg6))		return NULL;	bbox2( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 );	Py_INCREF(Py_None);	return Py_None;} /* void bbox2i short s short s long s long s long s long s */ static PyObject *gl_bbox2i(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	long arg3 ;	long arg4 ;	long arg5 ;	long arg6 ;	if (!getishortarg(args, 6, 0, &arg1))		return NULL;	if (!getishortarg(args, 6, 1, &arg2))		return NULL;	if (!getilongarg(args, 6, 2, &arg3))		return NULL;	if (!getilongarg(args, 6, 3, &arg4))		return NULL;	if (!getilongarg(args, 6, 4, &arg5))		return NULL;	if (!getilongarg(args, 6, 5, &arg6))		return NULL;	bbox2i( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 );	Py_INCREF(Py_None);	return Py_None;} /* void bbox2s short s short s short s short s short s short s */ static PyObject *gl_bbox2s(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	short arg3 ;	short arg4 ;	short arg5 ;	short arg6 ;	if (!getishortarg(args, 6, 0, &arg1))		return NULL;	if (!getishortarg(args, 6, 1, &arg2))		return NULL;	if (!getishortarg(args, 6, 2, &arg3))		return NULL;	if (!getishortarg(args, 6, 3, &arg4))		return NULL;	if (!getishortarg(args, 6, 4, &arg5))		return NULL;	if (!getishortarg(args, 6, 5, &arg6))		return NULL;	bbox2s( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 );	Py_INCREF(Py_None);	return Py_None;} /* void blink short s short s short s short s short s */ static PyObject *gl_blink(PyObject *self, PyObject *args){	short arg1 ;	short arg2 ;	short arg3 ;	short arg4 ;	short arg5 ;	if (!getishortarg(args, 5, 0, &arg1))		return NULL;	if (!getishortarg(args, 5, 1, &arg2))		return NULL;	if (!getishortarg(args, 5, 2, &arg3))		return NULL;	if (!getishortarg(args, 5, 3, &arg4))		return NULL;	if (!getishortarg(args, 5, 4, &arg5))		return NULL;	blink( arg1 , arg2 , arg3 , arg4 , arg5 );	Py_INCREF(Py_None);	return Py_None;} /* void ortho float s float s float s float s float s float s */ static PyObject *gl_ortho(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	float arg4 ;	float arg5 ;	float arg6 ;	if (!getifloatarg(args, 6, 0, &arg1))		return NULL;	if (!getifloatarg(args, 6, 1, &arg2))		return NULL;	if (!getifloatarg(args, 6, 2, &arg3))		return NULL;	if (!getifloatarg(args, 6, 3, &arg4))		return NULL;	if (!getifloatarg(args, 6, 4, &arg5))		return NULL;	if (!getifloatarg(args, 6, 5, &arg6))		return NULL;	ortho( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 );	Py_INCREF(Py_None);	return Py_None;} /* void window float s float s float s float s float s float s */ static PyObject *gl_window(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	float arg4 ;	float arg5 ;	float arg6 ;	if (!getifloatarg(args, 6, 0, &arg1))		return NULL;	if (!getifloatarg(args, 6, 1, &arg2))		return NULL;	if (!getifloatarg(args, 6, 2, &arg3))		return NULL;	if (!getifloatarg(args, 6, 3, &arg4))		return NULL;	if (!getifloatarg(args, 6, 4, &arg5))		return NULL;	if (!getifloatarg(args, 6, 5, &arg6))		return NULL;	window( arg1 , arg2 , arg3 , arg4 , arg5 , arg6 );	Py_INCREF(Py_None);	return Py_None;} /* void lookat float s float s float s float s float s float s short s */ static PyObject *gl_lookat(PyObject *self, PyObject *args){	float arg1 ;	float arg2 ;	float arg3 ;	float arg4 ;	float arg5 ;	float arg6 ;	short arg7 ;	if (!getifloatarg(args, 7, 0, &arg1))		return NULL;	if (!getifloatarg(args, 7, 1, &arg2))		return NULL;	if (!getifloatarg(args, 7, 2, &arg3))		return NULL;	if (!getifloatarg(args, 7, 3, &arg4))		return NULL;

Lines 4501–5000 of 7628. Previous lines