diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-07-28 15:23:23 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-07-28 15:23:23 (GMT) |
commit | 20265840164407ce7314285bcf80422b40c15f51 (patch) | |
tree | aeac17b791577af14e3cb7b77ec1f08ddf5253ef /Modules/glmodule.c | |
parent | 7beeed5dfd9fb81e4d4ea44bb0fe8a5e41084b8c (diff) | |
download | cpython-20265840164407ce7314285bcf80422b40c15f51.zip cpython-20265840164407ce7314285bcf80422b40c15f51.tar.gz cpython-20265840164407ce7314285bcf80422b40c15f51.tar.bz2 |
SF patch #577031, remove PyArg_NoArgs() since it's deprecated
Explicitly use METH_OLDARGS
Diffstat (limited to 'Modules/glmodule.c')
-rw-r--r-- | Modules/glmodule.c | 876 |
1 files changed, 437 insertions, 439 deletions
diff --git a/Modules/glmodule.c b/Modules/glmodule.c index 4a1b66f..6590704 100644 --- a/Modules/glmodule.c +++ b/Modules/glmodule.c @@ -441,12 +441,10 @@ pick_select(PyObject *args, void (*func)()) } static PyObject * -endpick_select(PyObject *args, long (*func)()) +endpick_select(long (*func)()) { PyObject *v, *w; int i, nhits, n; - if (!PyArg_NoArgs(args)) - return NULL; if (pickbuffer == NULL) { PyErr_SetString(PyExc_RuntimeError, "endpick/endselect: not in pick/select mode"); @@ -487,9 +485,9 @@ static PyObject *gl_pick(PyObject *self, PyObject *args) return pick_select(args, pick); } -static PyObject *gl_endpick(PyObject *self, PyObject *args) +static PyObject *gl_endpick(PyObject *self) { - return endpick_select(args, endpick); + return endpick_select(endpick); } static PyObject *gl_gselect(PyObject *self, PyObject *args) @@ -497,9 +495,9 @@ static PyObject *gl_gselect(PyObject *self, PyObject *args) return pick_select(args, gselect); } -static PyObject *gl_endselect(PyObject *self, PyObject *args) +static PyObject *gl_endselect(PyObject *self) { - return endpick_select(args, endselect); + return endpick_select(endselect); } @@ -7188,438 +7186,438 @@ gl_dither(PyObject *self, PyObject *args) } static struct PyMethodDef gl_methods[] = { - {"qread", gl_qread}, - {"varray", gl_varray}, - {"nvarray", gl_nvarray}, - {"vnarray", gl_vnarray}, - {"nurbssurface", gl_nurbssurface}, - {"nurbscurve", gl_nurbscurve}, - {"pwlcurve", gl_pwlcurve}, - {"pick", gl_pick}, - {"endpick", gl_endpick}, - {"gselect", gl_gselect}, - {"endselect", gl_endselect}, - {"getmatrix", gl_getmatrix}, - {"altgetmatrix", gl_altgetmatrix}, - {"lrectwrite", gl_lrectwrite}, - {"lrectread", gl_lrectread}, - {"readdisplay", gl_readdisplay}, - {"packrect", gl_packrect}, - {"unpackrect", gl_unpackrect}, - {"gversion", gl_gversion}, - {"clear", gl_clear}, - {"getshade", gl_getshade}, - {"devport", gl_devport}, - {"rdr2i", gl_rdr2i}, - {"rectfs", gl_rectfs}, - {"rects", gl_rects}, - {"rmv2i", gl_rmv2i}, - {"noport", gl_noport}, - {"popviewport", gl_popviewport}, - {"clearhitcode", gl_clearhitcode}, - {"closeobj", gl_closeobj}, - {"cursoff", gl_cursoff}, - {"curson", gl_curson}, - {"doublebuffer", gl_doublebuffer}, - {"finish", gl_finish}, - {"gconfig", gl_gconfig}, - {"ginit", gl_ginit}, - {"greset", gl_greset}, - {"multimap", gl_multimap}, - {"onemap", gl_onemap}, - {"popattributes", gl_popattributes}, - {"popmatrix", gl_popmatrix}, - {"pushattributes", gl_pushattributes}, - {"pushmatrix", gl_pushmatrix}, - {"pushviewport", gl_pushviewport}, - {"qreset", gl_qreset}, - {"RGBmode", gl_RGBmode}, - {"singlebuffer", gl_singlebuffer}, - {"swapbuffers", gl_swapbuffers}, - {"gsync", gl_gsync}, - {"gflush", gl_gflush}, - {"tpon", gl_tpon}, - {"tpoff", gl_tpoff}, - {"clkon", gl_clkon}, - {"clkoff", gl_clkoff}, - {"ringbell", gl_ringbell}, - {"gbegin", gl_gbegin}, - {"textinit", gl_textinit}, - {"initnames", gl_initnames}, - {"pclos", gl_pclos}, - {"popname", gl_popname}, - {"spclos", gl_spclos}, - {"zclear", gl_zclear}, - {"screenspace", gl_screenspace}, - {"reshapeviewport", gl_reshapeviewport}, - {"winpush", gl_winpush}, - {"winpop", gl_winpop}, - {"foreground", gl_foreground}, - {"endfullscrn", gl_endfullscrn}, - {"endpupmode", gl_endpupmode}, - {"fullscrn", gl_fullscrn}, - {"pupmode", gl_pupmode}, - {"winconstraints", gl_winconstraints}, - {"pagecolor", gl_pagecolor}, - {"textcolor", gl_textcolor}, - {"color", gl_color}, - {"curveit", gl_curveit}, - {"font", gl_font}, - {"linewidth", gl_linewidth}, - {"setlinestyle", gl_setlinestyle}, - {"setmap", gl_setmap}, - {"swapinterval", gl_swapinterval}, - {"writemask", gl_writemask}, - {"textwritemask", gl_textwritemask}, - {"qdevice", gl_qdevice}, - {"unqdevice", gl_unqdevice}, - {"curvebasis", gl_curvebasis}, - {"curveprecision", gl_curveprecision}, - {"loadname", gl_loadname}, - {"passthrough", gl_passthrough}, - {"pushname", gl_pushname}, - {"setmonitor", gl_setmonitor}, - {"setshade", gl_setshade}, - {"setpattern", gl_setpattern}, - {"pagewritemask", gl_pagewritemask}, - {"callobj", gl_callobj}, - {"delobj", gl_delobj}, - {"editobj", gl_editobj}, - {"makeobj", gl_makeobj}, - {"maketag", gl_maketag}, - {"chunksize", gl_chunksize}, - {"compactify", gl_compactify}, - {"deltag", gl_deltag}, - {"lsrepeat", gl_lsrepeat}, - {"objinsert", gl_objinsert}, - {"objreplace", gl_objreplace}, - {"winclose", gl_winclose}, - {"blanktime", gl_blanktime}, - {"freepup", gl_freepup}, - {"backbuffer", gl_backbuffer}, - {"frontbuffer", gl_frontbuffer}, - {"lsbackup", gl_lsbackup}, - {"resetls", gl_resetls}, - {"lampon", gl_lampon}, - {"lampoff", gl_lampoff}, - {"setbell", gl_setbell}, - {"blankscreen", gl_blankscreen}, - {"depthcue", gl_depthcue}, - {"zbuffer", gl_zbuffer}, - {"backface", gl_backface}, - {"cmov2i", gl_cmov2i}, - {"draw2i", gl_draw2i}, - {"move2i", gl_move2i}, - {"pnt2i", gl_pnt2i}, - {"patchbasis", gl_patchbasis}, - {"patchprecision", gl_patchprecision}, - {"pdr2i", gl_pdr2i}, - {"pmv2i", gl_pmv2i}, - {"rpdr2i", gl_rpdr2i}, - {"rpmv2i", gl_rpmv2i}, - {"xfpt2i", gl_xfpt2i}, - {"objdelete", gl_objdelete}, - {"patchcurves", gl_patchcurves}, - {"minsize", gl_minsize}, - {"maxsize", gl_maxsize}, - {"keepaspect", gl_keepaspect}, - {"prefsize", gl_prefsize}, - {"stepunit", gl_stepunit}, - {"fudge", gl_fudge}, - {"winmove", gl_winmove}, - {"attachcursor", gl_attachcursor}, - {"deflinestyle", gl_deflinestyle}, - {"noise", gl_noise}, - {"picksize", gl_picksize}, - {"qenter", gl_qenter}, - {"setdepth", gl_setdepth}, - {"cmov2s", gl_cmov2s}, - {"draw2s", gl_draw2s}, - {"move2s", gl_move2s}, - {"pdr2s", gl_pdr2s}, - {"pmv2s", gl_pmv2s}, - {"pnt2s", gl_pnt2s}, - {"rdr2s", gl_rdr2s}, - {"rmv2s", gl_rmv2s}, - {"rpdr2s", gl_rpdr2s}, - {"rpmv2s", gl_rpmv2s}, - {"xfpt2s", gl_xfpt2s}, - {"cmov2", gl_cmov2}, - {"draw2", gl_draw2}, - {"move2", gl_move2}, - {"pnt2", gl_pnt2}, - {"pdr2", gl_pdr2}, - {"pmv2", gl_pmv2}, - {"rdr2", gl_rdr2}, - {"rmv2", gl_rmv2}, - {"rpdr2", gl_rpdr2}, - {"rpmv2", gl_rpmv2}, - {"xfpt2", gl_xfpt2}, - {"loadmatrix", gl_loadmatrix}, - {"multmatrix", gl_multmatrix}, - {"crv", gl_crv}, - {"rcrv", gl_rcrv}, - {"addtopup", gl_addtopup}, - {"charstr", gl_charstr}, - {"getport", gl_getport}, - {"strwidth", gl_strwidth}, - {"winopen", gl_winopen}, - {"wintitle", gl_wintitle}, - {"polf", gl_polf}, - {"polf2", gl_polf2}, - {"poly", gl_poly}, - {"poly2", gl_poly2}, - {"crvn", gl_crvn}, - {"rcrvn", gl_rcrvn}, - {"polf2i", gl_polf2i}, - {"polfi", gl_polfi}, - {"poly2i", gl_poly2i}, - {"polyi", gl_polyi}, - {"polf2s", gl_polf2s}, - {"polfs", gl_polfs}, - {"polys", gl_polys}, - {"poly2s", gl_poly2s}, - {"defcursor", gl_defcursor}, - {"writepixels", gl_writepixels}, - {"defbasis", gl_defbasis}, - {"gewrite", gl_gewrite}, - {"rotate", gl_rotate}, - {"rot", gl_rot}, - {"circfi", gl_circfi}, - {"circi", gl_circi}, - {"cmovi", gl_cmovi}, - {"drawi", gl_drawi}, - {"movei", gl_movei}, - {"pnti", gl_pnti}, - {"newtag", gl_newtag}, - {"pdri", gl_pdri}, - {"pmvi", gl_pmvi}, - {"rdri", gl_rdri}, - {"rmvi", gl_rmvi}, - {"rpdri", gl_rpdri}, - {"rpmvi", gl_rpmvi}, - {"xfpti", gl_xfpti}, - {"circ", gl_circ}, - {"circf", gl_circf}, - {"cmov", gl_cmov}, - {"draw", gl_draw}, - {"move", gl_move}, - {"pnt", gl_pnt}, - {"scale", gl_scale}, - {"translate", gl_translate}, - {"pdr", gl_pdr}, - {"pmv", gl_pmv}, - {"rdr", gl_rdr}, - {"rmv", gl_rmv}, - {"rpdr", gl_rpdr}, - {"rpmv", gl_rpmv}, - {"xfpt", gl_xfpt}, - {"RGBcolor", gl_RGBcolor}, - {"RGBwritemask", gl_RGBwritemask}, - {"setcursor", gl_setcursor}, - {"tie", gl_tie}, - {"circfs", gl_circfs}, - {"circs", gl_circs}, - {"cmovs", gl_cmovs}, - {"draws", gl_draws}, - {"moves", gl_moves}, - {"pdrs", gl_pdrs}, - {"pmvs", gl_pmvs}, - {"pnts", gl_pnts}, - {"rdrs", gl_rdrs}, - {"rmvs", gl_rmvs}, - {"rpdrs", gl_rpdrs}, - {"rpmvs", gl_rpmvs}, - {"xfpts", gl_xfpts}, - {"curorigin", gl_curorigin}, - {"cyclemap", gl_cyclemap}, - {"patch", gl_patch}, - {"splf", gl_splf}, - {"splf2", gl_splf2}, - {"splfi", gl_splfi}, - {"splf2i", gl_splf2i}, - {"splfs", gl_splfs}, - {"splf2s", gl_splf2s}, - {"rpatch", gl_rpatch}, - {"ortho2", gl_ortho2}, - {"rect", gl_rect}, - {"rectf", gl_rectf}, - {"xfpt4", gl_xfpt4}, - {"textport", gl_textport}, - {"mapcolor", gl_mapcolor}, - {"scrmask", gl_scrmask}, - {"setvaluator", gl_setvaluator}, - {"viewport", gl_viewport}, - {"shaderange", gl_shaderange}, - {"xfpt4s", gl_xfpt4s}, - {"rectfi", gl_rectfi}, - {"recti", gl_recti}, - {"xfpt4i", gl_xfpt4i}, - {"prefposition", gl_prefposition}, - {"arc", gl_arc}, - {"arcf", gl_arcf}, - {"arcfi", gl_arcfi}, - {"arci", gl_arci}, - {"bbox2", gl_bbox2}, - {"bbox2i", gl_bbox2i}, - {"bbox2s", gl_bbox2s}, - {"blink", gl_blink}, - {"ortho", gl_ortho}, - {"window", gl_window}, - {"lookat", gl_lookat}, - {"perspective", gl_perspective}, - {"polarview", gl_polarview}, - {"arcfs", gl_arcfs}, - {"arcs", gl_arcs}, - {"rectcopy", gl_rectcopy}, - {"RGBcursor", gl_RGBcursor}, - {"getbutton", gl_getbutton}, - {"getcmmode", gl_getcmmode}, - {"getlsbackup", gl_getlsbackup}, - {"getresetls", gl_getresetls}, - {"getdcm", gl_getdcm}, - {"getzbuffer", gl_getzbuffer}, - {"ismex", gl_ismex}, - {"isobj", gl_isobj}, - {"isqueued", gl_isqueued}, - {"istag", gl_istag}, - {"genobj", gl_genobj}, - {"gentag", gl_gentag}, - {"getbuffer", gl_getbuffer}, - {"getcolor", gl_getcolor}, - {"getdisplaymode", gl_getdisplaymode}, - {"getfont", gl_getfont}, - {"getheight", gl_getheight}, - {"gethitcode", gl_gethitcode}, - {"getlstyle", gl_getlstyle}, - {"getlwidth", gl_getlwidth}, - {"getmap", gl_getmap}, - {"getplanes", gl_getplanes}, - {"getwritemask", gl_getwritemask}, - {"qtest", gl_qtest}, - {"getlsrepeat", gl_getlsrepeat}, - {"getmonitor", gl_getmonitor}, - {"getopenobj", gl_getopenobj}, - {"getpattern", gl_getpattern}, - {"winget", gl_winget}, - {"winattach", gl_winattach}, - {"getothermonitor", gl_getothermonitor}, - {"newpup", gl_newpup}, - {"getvaluator", gl_getvaluator}, - {"winset", gl_winset}, - {"dopup", gl_dopup}, - {"getdepth", gl_getdepth}, - {"getcpos", gl_getcpos}, - {"getsize", gl_getsize}, - {"getorigin", gl_getorigin}, - {"getviewport", gl_getviewport}, - {"gettp", gl_gettp}, - {"getgpos", gl_getgpos}, - {"winposition", gl_winposition}, - {"gRGBcolor", gl_gRGBcolor}, - {"gRGBmask", gl_gRGBmask}, - {"getscrmask", gl_getscrmask}, - {"getmcolor", gl_getmcolor}, - {"mapw", gl_mapw}, - {"mapw2", gl_mapw2}, - {"getcursor", gl_getcursor}, - {"cmode", gl_cmode}, - {"concave", gl_concave}, - {"curstype", gl_curstype}, - {"drawmode", gl_drawmode}, - {"gammaramp", gl_gammaramp}, - {"getbackface", gl_getbackface}, - {"getdescender", gl_getdescender}, - {"getdrawmode", gl_getdrawmode}, - {"getmmode", gl_getmmode}, - {"getsm", gl_getsm}, - {"getvideo", gl_getvideo}, - {"imakebackground", gl_imakebackground}, - {"lmbind", gl_lmbind}, - {"lmdef", gl_lmdef}, - {"mmode", gl_mmode}, - {"normal", gl_normal}, - {"overlay", gl_overlay}, - {"RGBrange", gl_RGBrange}, - {"setvideo", gl_setvideo}, - {"shademodel", gl_shademodel}, - {"underlay", gl_underlay}, - {"bgnclosedline", gl_bgnclosedline}, - {"bgnline", gl_bgnline}, - {"bgnpoint", gl_bgnpoint}, - {"bgnpolygon", gl_bgnpolygon}, - {"bgnsurface", gl_bgnsurface}, - {"bgntmesh", gl_bgntmesh}, - {"bgntrim", gl_bgntrim}, - {"endclosedline", gl_endclosedline}, - {"endline", gl_endline}, - {"endpoint", gl_endpoint}, - {"endpolygon", gl_endpolygon}, - {"endsurface", gl_endsurface}, - {"endtmesh", gl_endtmesh}, - {"endtrim", gl_endtrim}, - {"blendfunction", gl_blendfunction}, - {"c3f", gl_c3f}, - {"c3i", gl_c3i}, - {"c3s", gl_c3s}, - {"c4f", gl_c4f}, - {"c4i", gl_c4i}, - {"c4s", gl_c4s}, - {"colorf", gl_colorf}, - {"cpack", gl_cpack}, - {"czclear", gl_czclear}, - {"dglclose", gl_dglclose}, - {"dglopen", gl_dglopen}, - {"getgdesc", gl_getgdesc}, - {"getnurbsproperty", gl_getnurbsproperty}, - {"glcompat", gl_glcompat}, - {"iconsize", gl_iconsize}, - {"icontitle", gl_icontitle}, - {"lRGBrange", gl_lRGBrange}, - {"linesmooth", gl_linesmooth}, - {"lmcolor", gl_lmcolor}, - {"logicop", gl_logicop}, - {"lsetdepth", gl_lsetdepth}, - {"lshaderange", gl_lshaderange}, - {"n3f", gl_n3f}, - {"noborder", gl_noborder}, - {"pntsmooth", gl_pntsmooth}, - {"readsource", gl_readsource}, - {"rectzoom", gl_rectzoom}, - {"sbox", gl_sbox}, - {"sboxi", gl_sboxi}, - {"sboxs", gl_sboxs}, - {"sboxf", gl_sboxf}, - {"sboxfi", gl_sboxfi}, - {"sboxfs", gl_sboxfs}, - {"setnurbsproperty", gl_setnurbsproperty}, - {"setpup", gl_setpup}, - {"smoothline", gl_smoothline}, - {"subpixel", gl_subpixel}, - {"swaptmesh", gl_swaptmesh}, - {"swinopen", gl_swinopen}, - {"v2f", gl_v2f}, - {"v2i", gl_v2i}, - {"v2s", gl_v2s}, - {"v3f", gl_v3f}, - {"v3i", gl_v3i}, - {"v3s", gl_v3s}, - {"v4f", gl_v4f}, - {"v4i", gl_v4i}, - {"v4s", gl_v4s}, - {"videocmd", gl_videocmd}, - {"windepth", gl_windepth}, - {"wmpack", gl_wmpack}, - {"zdraw", gl_zdraw}, - {"zfunction", gl_zfunction}, - {"zsource", gl_zsource}, - {"zwritemask", gl_zwritemask}, - {"v2d", gl_v2d}, - {"v3d", gl_v3d}, - {"v4d", gl_v4d}, - {"pixmode", gl_pixmode}, - {"qgetfd", gl_qgetfd}, - {"dither", gl_dither}, + {"qread", gl_qread, METH_OLDARGS}, + {"varray", gl_varray, METH_OLDARGS}, + {"nvarray", gl_nvarray, METH_OLDARGS}, + {"vnarray", gl_vnarray, METH_OLDARGS}, + {"nurbssurface", gl_nurbssurface, METH_OLDARGS}, + {"nurbscurve", gl_nurbscurve, METH_OLDARGS}, + {"pwlcurve", gl_pwlcurve, METH_OLDARGS}, + {"pick", gl_pick, METH_OLDARGS}, + {"endpick", gl_endpick, METH_NOARGS}, + {"gselect", gl_gselect, METH_OLDARGS}, + {"endselect", gl_endselect, METH_NOARGS}, + {"getmatrix", gl_getmatrix, METH_OLDARGS}, + {"altgetmatrix", gl_altgetmatrix, METH_OLDARGS}, + {"lrectwrite", gl_lrectwrite, METH_OLDARGS}, + {"lrectread", gl_lrectread, METH_OLDARGS}, + {"readdisplay", gl_readdisplay, METH_OLDARGS}, + {"packrect", gl_packrect, METH_OLDARGS}, + {"unpackrect", gl_unpackrect, METH_OLDARGS}, + {"gversion", gl_gversion, METH_OLDARGS}, + {"clear", gl_clear, METH_OLDARGS}, + {"getshade", gl_getshade, METH_OLDARGS}, + {"devport", gl_devport, METH_OLDARGS}, + {"rdr2i", gl_rdr2i, METH_OLDARGS}, + {"rectfs", gl_rectfs, METH_OLDARGS}, + {"rects", gl_rects, METH_OLDARGS}, + {"rmv2i", gl_rmv2i, METH_OLDARGS}, + {"noport", gl_noport, METH_OLDARGS}, + {"popviewport", gl_popviewport, METH_OLDARGS}, + {"clearhitcode", gl_clearhitcode, METH_OLDARGS}, + {"closeobj", gl_closeobj, METH_OLDARGS}, + {"cursoff", gl_cursoff, METH_OLDARGS}, + {"curson", gl_curson, METH_OLDARGS}, + {"doublebuffer", gl_doublebuffer, METH_OLDARGS}, + {"finish", gl_finish, METH_OLDARGS}, + {"gconfig", gl_gconfig, METH_OLDARGS}, + {"ginit", gl_ginit, METH_OLDARGS}, + {"greset", gl_greset, METH_OLDARGS}, + {"multimap", gl_multimap, METH_OLDARGS}, + {"onemap", gl_onemap, METH_OLDARGS}, + {"popattributes", gl_popattributes, METH_OLDARGS}, + {"popmatrix", gl_popmatrix, METH_OLDARGS}, + {"pushattributes", gl_pushattributes,METH_OLDARGS}, + {"pushmatrix", gl_pushmatrix, METH_OLDARGS}, + {"pushviewport", gl_pushviewport, METH_OLDARGS}, + {"qreset", gl_qreset, METH_OLDARGS}, + {"RGBmode", gl_RGBmode, METH_OLDARGS}, + {"singlebuffer", gl_singlebuffer, METH_OLDARGS}, + {"swapbuffers", gl_swapbuffers, METH_OLDARGS}, + {"gsync", gl_gsync, METH_OLDARGS}, + {"gflush", gl_gflush, METH_OLDARGS}, + {"tpon", gl_tpon, METH_OLDARGS}, + {"tpoff", gl_tpoff, METH_OLDARGS}, + {"clkon", gl_clkon, METH_OLDARGS}, + {"clkoff", gl_clkoff, METH_OLDARGS}, + {"ringbell", gl_ringbell, METH_OLDARGS}, + {"gbegin", gl_gbegin, METH_OLDARGS}, + {"textinit", gl_textinit, METH_OLDARGS}, + {"initnames", gl_initnames, METH_OLDARGS}, + {"pclos", gl_pclos, METH_OLDARGS}, + {"popname", gl_popname, METH_OLDARGS}, + {"spclos", gl_spclos, METH_OLDARGS}, + {"zclear", gl_zclear, METH_OLDARGS}, + {"screenspace", gl_screenspace, METH_OLDARGS}, + {"reshapeviewport", gl_reshapeviewport, METH_OLDARGS}, + {"winpush", gl_winpush, METH_OLDARGS}, + {"winpop", gl_winpop, METH_OLDARGS}, + {"foreground", gl_foreground, METH_OLDARGS}, + {"endfullscrn", gl_endfullscrn, METH_OLDARGS}, + {"endpupmode", gl_endpupmode, METH_OLDARGS}, + {"fullscrn", gl_fullscrn, METH_OLDARGS}, + {"pupmode", gl_pupmode, METH_OLDARGS}, + {"winconstraints", gl_winconstraints, METH_OLDARGS}, + {"pagecolor", gl_pagecolor, METH_OLDARGS}, + {"textcolor", gl_textcolor, METH_OLDARGS}, + {"color", gl_color, METH_OLDARGS}, + {"curveit", gl_curveit, METH_OLDARGS}, + {"font", gl_font, METH_OLDARGS}, + {"linewidth", gl_linewidth, METH_OLDARGS}, + {"setlinestyle", gl_setlinestyle, METH_OLDARGS}, + {"setmap", gl_setmap, METH_OLDARGS}, + {"swapinterval", gl_swapinterval, METH_OLDARGS}, + {"writemask", gl_writemask, METH_OLDARGS}, + {"textwritemask", gl_textwritemask, METH_OLDARGS}, + {"qdevice", gl_qdevice, METH_OLDARGS}, + {"unqdevice", gl_unqdevice, METH_OLDARGS}, + {"curvebasis", gl_curvebasis, METH_OLDARGS}, + {"curveprecision", gl_curveprecision,METH_OLDARGS}, + {"loadname", gl_loadname, METH_OLDARGS}, + {"passthrough", gl_passthrough, METH_OLDARGS}, + {"pushname", gl_pushname, METH_OLDARGS}, + {"setmonitor", gl_setmonitor, METH_OLDARGS}, + {"setshade", gl_setshade, METH_OLDARGS}, + {"setpattern", gl_setpattern, METH_OLDARGS}, + {"pagewritemask", gl_pagewritemask, METH_OLDARGS}, + {"callobj", gl_callobj, METH_OLDARGS}, + {"delobj", gl_delobj, METH_OLDARGS}, + {"editobj", gl_editobj, METH_OLDARGS}, + {"makeobj", gl_makeobj, METH_OLDARGS}, + {"maketag", gl_maketag, METH_OLDARGS}, + {"chunksize", gl_chunksize, METH_OLDARGS}, + {"compactify", gl_compactify, METH_OLDARGS}, + {"deltag", gl_deltag, METH_OLDARGS}, + {"lsrepeat", gl_lsrepeat, METH_OLDARGS}, + {"objinsert", gl_objinsert, METH_OLDARGS}, + {"objreplace", gl_objreplace, METH_OLDARGS}, + {"winclose", gl_winclose, METH_OLDARGS}, + {"blanktime", gl_blanktime, METH_OLDARGS}, + {"freepup", gl_freepup, METH_OLDARGS}, + {"backbuffer", gl_backbuffer, METH_OLDARGS}, + {"frontbuffer", gl_frontbuffer, METH_OLDARGS}, + {"lsbackup", gl_lsbackup, METH_OLDARGS}, + {"resetls", gl_resetls, METH_OLDARGS}, + {"lampon", gl_lampon, METH_OLDARGS}, + {"lampoff", gl_lampoff, METH_OLDARGS}, + {"setbell", gl_setbell, METH_OLDARGS}, + {"blankscreen", gl_blankscreen, METH_OLDARGS}, + {"depthcue", gl_depthcue, METH_OLDARGS}, + {"zbuffer", gl_zbuffer, METH_OLDARGS}, + {"backface", gl_backface, METH_OLDARGS}, + {"cmov2i", gl_cmov2i, METH_OLDARGS}, + {"draw2i", gl_draw2i, METH_OLDARGS}, + {"move2i", gl_move2i, METH_OLDARGS}, + {"pnt2i", gl_pnt2i, METH_OLDARGS}, + {"patchbasis", gl_patchbasis, METH_OLDARGS}, + {"patchprecision", gl_patchprecision, METH_OLDARGS}, + {"pdr2i", gl_pdr2i, METH_OLDARGS}, + {"pmv2i", gl_pmv2i, METH_OLDARGS}, + {"rpdr2i", gl_rpdr2i, METH_OLDARGS}, + {"rpmv2i", gl_rpmv2i, METH_OLDARGS}, + {"xfpt2i", gl_xfpt2i, METH_OLDARGS}, + {"objdelete", gl_objdelete, METH_OLDARGS}, + {"patchcurves", gl_patchcurves, METH_OLDARGS}, + {"minsize", gl_minsize, METH_OLDARGS}, + {"maxsize", gl_maxsize, METH_OLDARGS}, + {"keepaspect", gl_keepaspect, METH_OLDARGS}, + {"prefsize", gl_prefsize, METH_OLDARGS}, + {"stepunit", gl_stepunit, METH_OLDARGS}, + {"fudge", gl_fudge, METH_OLDARGS}, + {"winmove", gl_winmove, METH_OLDARGS}, + {"attachcursor", gl_attachcursor, METH_OLDARGS}, + {"deflinestyle", gl_deflinestyle, METH_OLDARGS}, + {"noise", gl_noise, METH_OLDARGS}, + {"picksize", gl_picksize, METH_OLDARGS}, + {"qenter", gl_qenter, METH_OLDARGS}, + {"setdepth", gl_setdepth, METH_OLDARGS}, + {"cmov2s", gl_cmov2s, METH_OLDARGS}, + {"draw2s", gl_draw2s, METH_OLDARGS}, + {"move2s", gl_move2s, METH_OLDARGS}, + {"pdr2s", gl_pdr2s, METH_OLDARGS}, + {"pmv2s", gl_pmv2s, METH_OLDARGS}, + {"pnt2s", gl_pnt2s, METH_OLDARGS}, + {"rdr2s", gl_rdr2s, METH_OLDARGS}, + {"rmv2s", gl_rmv2s, METH_OLDARGS}, + {"rpdr2s", gl_rpdr2s, METH_OLDARGS}, + {"rpmv2s", gl_rpmv2s, METH_OLDARGS}, + {"xfpt2s", gl_xfpt2s, METH_OLDARGS}, + {"cmov2", gl_cmov2, METH_OLDARGS}, + {"draw2", gl_draw2, METH_OLDARGS}, + {"move2", gl_move2, METH_OLDARGS}, + {"pnt2", gl_pnt2, METH_OLDARGS}, + {"pdr2", gl_pdr2, METH_OLDARGS}, + {"pmv2", gl_pmv2, METH_OLDARGS}, + {"rdr2", gl_rdr2, METH_OLDARGS}, + {"rmv2", gl_rmv2, METH_OLDARGS}, + {"rpdr2", gl_rpdr2, METH_OLDARGS}, + {"rpmv2", gl_rpmv2, METH_OLDARGS}, + {"xfpt2", gl_xfpt2, METH_OLDARGS}, + {"loadmatrix", gl_loadmatrix, METH_OLDARGS}, + {"multmatrix", gl_multmatrix, METH_OLDARGS}, + {"crv", gl_crv, METH_OLDARGS}, + {"rcrv", gl_rcrv, METH_OLDARGS}, + {"addtopup", gl_addtopup, METH_OLDARGS}, + {"charstr", gl_charstr, METH_OLDARGS}, + {"getport", gl_getport, METH_OLDARGS}, + {"strwidth", gl_strwidth, METH_OLDARGS}, + {"winopen", gl_winopen, METH_OLDARGS}, + {"wintitle", gl_wintitle, METH_OLDARGS}, + {"polf", gl_polf, METH_OLDARGS}, + {"polf2", gl_polf2, METH_OLDARGS}, + {"poly", gl_poly, METH_OLDARGS}, + {"poly2", gl_poly2, METH_OLDARGS}, + {"crvn", gl_crvn, METH_OLDARGS}, + {"rcrvn", gl_rcrvn, METH_OLDARGS}, + {"polf2i", gl_polf2i, METH_OLDARGS}, + {"polfi", gl_polfi, METH_OLDARGS}, + {"poly2i", gl_poly2i, METH_OLDARGS}, + {"polyi", gl_polyi, METH_OLDARGS}, + {"polf2s", gl_polf2s, METH_OLDARGS}, + {"polfs", gl_polfs, METH_OLDARGS}, + {"polys", gl_polys, METH_OLDARGS}, + {"poly2s", gl_poly2s, METH_OLDARGS}, + {"defcursor", gl_defcursor, METH_OLDARGS}, + {"writepixels", gl_writepixels, METH_OLDARGS}, + {"defbasis", gl_defbasis, METH_OLDARGS}, + {"gewrite", gl_gewrite, METH_OLDARGS}, + {"rotate", gl_rotate, METH_OLDARGS}, + {"rot", gl_rot, METH_OLDARGS}, + {"circfi", gl_circfi, METH_OLDARGS}, + {"circi", gl_circi, METH_OLDARGS}, + {"cmovi", gl_cmovi, METH_OLDARGS}, + {"drawi", gl_drawi, METH_OLDARGS}, + {"movei", gl_movei, METH_OLDARGS}, + {"pnti", gl_pnti, METH_OLDARGS}, + {"newtag", gl_newtag, METH_OLDARGS}, + {"pdri", gl_pdri, METH_OLDARGS}, + {"pmvi", gl_pmvi, METH_OLDARGS}, + {"rdri", gl_rdri, METH_OLDARGS}, + {"rmvi", gl_rmvi, METH_OLDARGS}, + {"rpdri", gl_rpdri, METH_OLDARGS}, + {"rpmvi", gl_rpmvi, METH_OLDARGS}, + {"xfpti", gl_xfpti, METH_OLDARGS}, + {"circ", gl_circ, METH_OLDARGS}, + {"circf", gl_circf, METH_OLDARGS}, + {"cmov", gl_cmov, METH_OLDARGS}, + {"draw", gl_draw, METH_OLDARGS}, + {"move", gl_move, METH_OLDARGS}, + {"pnt", gl_pnt, METH_OLDARGS}, + {"scale", gl_scale, METH_OLDARGS}, + {"translate", gl_translate, METH_OLDARGS}, + {"pdr", gl_pdr, METH_OLDARGS}, + {"pmv", gl_pmv, METH_OLDARGS}, + {"rdr", gl_rdr, METH_OLDARGS}, + {"rmv", gl_rmv, METH_OLDARGS}, + {"rpdr", gl_rpdr, METH_OLDARGS}, + {"rpmv", gl_rpmv, METH_OLDARGS}, + {"xfpt", gl_xfpt, METH_OLDARGS}, + {"RGBcolor", gl_RGBcolor, METH_OLDARGS}, + {"RGBwritemask", gl_RGBwritemask, METH_OLDARGS}, + {"setcursor", gl_setcursor, METH_OLDARGS}, + {"tie", gl_tie, METH_OLDARGS}, + {"circfs", gl_circfs, METH_OLDARGS}, + {"circs", gl_circs, METH_OLDARGS}, + {"cmovs", gl_cmovs, METH_OLDARGS}, + {"draws", gl_draws, METH_OLDARGS}, + {"moves", gl_moves, METH_OLDARGS}, + {"pdrs", gl_pdrs, METH_OLDARGS}, + {"pmvs", gl_pmvs, METH_OLDARGS}, + {"pnts", gl_pnts, METH_OLDARGS}, + {"rdrs", gl_rdrs, METH_OLDARGS}, + {"rmvs", gl_rmvs, METH_OLDARGS}, + {"rpdrs", gl_rpdrs, METH_OLDARGS}, + {"rpmvs", gl_rpmvs, METH_OLDARGS}, + {"xfpts", gl_xfpts, METH_OLDARGS}, + {"curorigin", gl_curorigin, METH_OLDARGS}, + {"cyclemap", gl_cyclemap, METH_OLDARGS}, + {"patch", gl_patch, METH_OLDARGS}, + {"splf", gl_splf, METH_OLDARGS}, + {"splf2", gl_splf2, METH_OLDARGS}, + {"splfi", gl_splfi, METH_OLDARGS}, + {"splf2i", gl_splf2i, METH_OLDARGS}, + {"splfs", gl_splfs, METH_OLDARGS}, + {"splf2s", gl_splf2s, METH_OLDARGS}, + {"rpatch", gl_rpatch, METH_OLDARGS}, + {"ortho2", gl_ortho2, METH_OLDARGS}, + {"rect", gl_rect, METH_OLDARGS}, + {"rectf", gl_rectf, METH_OLDARGS}, + {"xfpt4", gl_xfpt4, METH_OLDARGS}, + {"textport", gl_textport, METH_OLDARGS}, + {"mapcolor", gl_mapcolor, METH_OLDARGS}, + {"scrmask", gl_scrmask, METH_OLDARGS}, + {"setvaluator", gl_setvaluator, METH_OLDARGS}, + {"viewport", gl_viewport, METH_OLDARGS}, + {"shaderange", gl_shaderange, METH_OLDARGS}, + {"xfpt4s", gl_xfpt4s, METH_OLDARGS}, + {"rectfi", gl_rectfi, METH_OLDARGS}, + {"recti", gl_recti, METH_OLDARGS}, + {"xfpt4i", gl_xfpt4i, METH_OLDARGS}, + {"prefposition", gl_prefposition, METH_OLDARGS}, + {"arc", gl_arc, METH_OLDARGS}, + {"arcf", gl_arcf, METH_OLDARGS}, + {"arcfi", gl_arcfi, METH_OLDARGS}, + {"arci", gl_arci, METH_OLDARGS}, + {"bbox2", gl_bbox2, METH_OLDARGS}, + {"bbox2i", gl_bbox2i, METH_OLDARGS}, + {"bbox2s", gl_bbox2s, METH_OLDARGS}, + {"blink", gl_blink, METH_OLDARGS}, + {"ortho", gl_ortho, METH_OLDARGS}, + {"window", gl_window, METH_OLDARGS}, + {"lookat", gl_lookat, METH_OLDARGS}, + {"perspective", gl_perspective, METH_OLDARGS}, + {"polarview", gl_polarview, METH_OLDARGS}, + {"arcfs", gl_arcfs, METH_OLDARGS}, + {"arcs", gl_arcs, METH_OLDARGS}, + {"rectcopy", gl_rectcopy, METH_OLDARGS}, + {"RGBcursor", gl_RGBcursor, METH_OLDARGS}, + {"getbutton", gl_getbutton, METH_OLDARGS}, + {"getcmmode", gl_getcmmode, METH_OLDARGS}, + {"getlsbackup", gl_getlsbackup, METH_OLDARGS}, + {"getresetls", gl_getresetls, METH_OLDARGS}, + {"getdcm", gl_getdcm, METH_OLDARGS}, + {"getzbuffer", gl_getzbuffer, METH_OLDARGS}, + {"ismex", gl_ismex, METH_OLDARGS}, + {"isobj", gl_isobj, METH_OLDARGS}, + {"isqueued", gl_isqueued, METH_OLDARGS}, + {"istag", gl_istag, METH_OLDARGS}, + {"genobj", gl_genobj, METH_OLDARGS}, + {"gentag", gl_gentag, METH_OLDARGS}, + {"getbuffer", gl_getbuffer, METH_OLDARGS}, + {"getcolor", gl_getcolor, METH_OLDARGS}, + {"getdisplaymode", gl_getdisplaymode, METH_OLDARGS}, + {"getfont", gl_getfont, METH_OLDARGS}, + {"getheight", gl_getheight, METH_OLDARGS}, + {"gethitcode", gl_gethitcode, METH_OLDARGS}, + {"getlstyle", gl_getlstyle, METH_OLDARGS}, + {"getlwidth", gl_getlwidth, METH_OLDARGS}, + {"getmap", gl_getmap, METH_OLDARGS}, + {"getplanes", gl_getplanes, METH_OLDARGS}, + {"getwritemask", gl_getwritemask, METH_OLDARGS}, + {"qtest", gl_qtest, METH_OLDARGS}, + {"getlsrepeat", gl_getlsrepeat, METH_OLDARGS}, + {"getmonitor", gl_getmonitor, METH_OLDARGS}, + {"getopenobj", gl_getopenobj, METH_OLDARGS}, + {"getpattern", gl_getpattern, METH_OLDARGS}, + {"winget", gl_winget, METH_OLDARGS}, + {"winattach", gl_winattach, METH_OLDARGS}, + {"getothermonitor", gl_getothermonitor, METH_OLDARGS}, + {"newpup", gl_newpup, METH_OLDARGS}, + {"getvaluator", gl_getvaluator, METH_OLDARGS}, + {"winset", gl_winset, METH_OLDARGS}, + {"dopup", gl_dopup, METH_OLDARGS}, + {"getdepth", gl_getdepth, METH_OLDARGS}, + {"getcpos", gl_getcpos, METH_OLDARGS}, + {"getsize", gl_getsize, METH_OLDARGS}, + {"getorigin", gl_getorigin, METH_OLDARGS}, + {"getviewport", gl_getviewport, METH_OLDARGS}, + {"gettp", gl_gettp, METH_OLDARGS}, + {"getgpos", gl_getgpos, METH_OLDARGS}, + {"winposition", gl_winposition, METH_OLDARGS}, + {"gRGBcolor", gl_gRGBcolor, METH_OLDARGS}, + {"gRGBmask", gl_gRGBmask, METH_OLDARGS}, + {"getscrmask", gl_getscrmask, METH_OLDARGS}, + {"getmcolor", gl_getmcolor, METH_OLDARGS}, + {"mapw", gl_mapw, METH_OLDARGS}, + {"mapw2", gl_mapw2, METH_OLDARGS}, + {"getcursor", gl_getcursor, METH_OLDARGS}, + {"cmode", gl_cmode, METH_OLDARGS}, + {"concave", gl_concave, METH_OLDARGS}, + {"curstype", gl_curstype, METH_OLDARGS}, + {"drawmode", gl_drawmode, METH_OLDARGS}, + {"gammaramp", gl_gammaramp, METH_OLDARGS}, + {"getbackface", gl_getbackface, METH_OLDARGS}, + {"getdescender", gl_getdescender, METH_OLDARGS}, + {"getdrawmode", gl_getdrawmode, METH_OLDARGS}, + {"getmmode", gl_getmmode, METH_OLDARGS}, + {"getsm", gl_getsm, METH_OLDARGS}, + {"getvideo", gl_getvideo, METH_OLDARGS}, + {"imakebackground", gl_imakebackground, METH_OLDARGS}, + {"lmbind", gl_lmbind, METH_OLDARGS}, + {"lmdef", gl_lmdef, METH_OLDARGS}, + {"mmode", gl_mmode, METH_OLDARGS}, + {"normal", gl_normal, METH_OLDARGS}, + {"overlay", gl_overlay, METH_OLDARGS}, + {"RGBrange", gl_RGBrange, METH_OLDARGS}, + {"setvideo", gl_setvideo, METH_OLDARGS}, + {"shademodel", gl_shademodel, METH_OLDARGS}, + {"underlay", gl_underlay, METH_OLDARGS}, + {"bgnclosedline", gl_bgnclosedline, METH_OLDARGS}, + {"bgnline", gl_bgnline, METH_OLDARGS}, + {"bgnpoint", gl_bgnpoint, METH_OLDARGS}, + {"bgnpolygon", gl_bgnpolygon, METH_OLDARGS}, + {"bgnsurface", gl_bgnsurface, METH_OLDARGS}, + {"bgntmesh", gl_bgntmesh, METH_OLDARGS}, + {"bgntrim", gl_bgntrim, METH_OLDARGS}, + {"endclosedline", gl_endclosedline, METH_OLDARGS}, + {"endline", gl_endline, METH_OLDARGS}, + {"endpoint", gl_endpoint, METH_OLDARGS}, + {"endpolygon", gl_endpolygon, METH_OLDARGS}, + {"endsurface", gl_endsurface, METH_OLDARGS}, + {"endtmesh", gl_endtmesh, METH_OLDARGS}, + {"endtrim", gl_endtrim, METH_OLDARGS}, + {"blendfunction", gl_blendfunction, METH_OLDARGS}, + {"c3f", gl_c3f, METH_OLDARGS}, + {"c3i", gl_c3i, METH_OLDARGS}, + {"c3s", gl_c3s, METH_OLDARGS}, + {"c4f", gl_c4f, METH_OLDARGS}, + {"c4i", gl_c4i, METH_OLDARGS}, + {"c4s", gl_c4s, METH_OLDARGS}, + {"colorf", gl_colorf, METH_OLDARGS}, + {"cpack", gl_cpack, METH_OLDARGS}, + {"czclear", gl_czclear, METH_OLDARGS}, + {"dglclose", gl_dglclose, METH_OLDARGS}, + {"dglopen", gl_dglopen, METH_OLDARGS}, + {"getgdesc", gl_getgdesc, METH_OLDARGS}, + {"getnurbsproperty", gl_getnurbsproperty, METH_OLDARGS}, + {"glcompat", gl_glcompat, METH_OLDARGS}, + {"iconsize", gl_iconsize, METH_OLDARGS}, + {"icontitle", gl_icontitle, METH_OLDARGS}, + {"lRGBrange", gl_lRGBrange, METH_OLDARGS}, + {"linesmooth", gl_linesmooth, METH_OLDARGS}, + {"lmcolor", gl_lmcolor, METH_OLDARGS}, + {"logicop", gl_logicop, METH_OLDARGS}, + {"lsetdepth", gl_lsetdepth, METH_OLDARGS}, + {"lshaderange", gl_lshaderange, METH_OLDARGS}, + {"n3f", gl_n3f, METH_OLDARGS}, + {"noborder", gl_noborder, METH_OLDARGS}, + {"pntsmooth", gl_pntsmooth, METH_OLDARGS}, + {"readsource", gl_readsource, METH_OLDARGS}, + {"rectzoom", gl_rectzoom, METH_OLDARGS}, + {"sbox", gl_sbox, METH_OLDARGS}, + {"sboxi", gl_sboxi, METH_OLDARGS}, + {"sboxs", gl_sboxs, METH_OLDARGS}, + {"sboxf", gl_sboxf, METH_OLDARGS}, + {"sboxfi", gl_sboxfi, METH_OLDARGS}, + {"sboxfs", gl_sboxfs, METH_OLDARGS}, + {"setnurbsproperty", gl_setnurbsproperty, METH_OLDARGS}, + {"setpup", gl_setpup, METH_OLDARGS}, + {"smoothline", gl_smoothline, METH_OLDARGS}, + {"subpixel", gl_subpixel, METH_OLDARGS}, + {"swaptmesh", gl_swaptmesh, METH_OLDARGS}, + {"swinopen", gl_swinopen, METH_OLDARGS}, + {"v2f", gl_v2f, METH_OLDARGS}, + {"v2i", gl_v2i, METH_OLDARGS}, + {"v2s", gl_v2s, METH_OLDARGS}, + {"v3f", gl_v3f, METH_OLDARGS}, + {"v3i", gl_v3i, METH_OLDARGS}, + {"v3s", gl_v3s, METH_OLDARGS}, + {"v4f", gl_v4f, METH_OLDARGS}, + {"v4i", gl_v4i, METH_OLDARGS}, + {"v4s", gl_v4s, METH_OLDARGS}, + {"videocmd", gl_videocmd, METH_OLDARGS}, + {"windepth", gl_windepth, METH_OLDARGS}, + {"wmpack", gl_wmpack, METH_OLDARGS}, + {"zdraw", gl_zdraw, METH_OLDARGS}, + {"zfunction", gl_zfunction, METH_OLDARGS}, + {"zsource", gl_zsource, METH_OLDARGS}, + {"zwritemask", gl_zwritemask, METH_OLDARGS}, + {"v2d", gl_v2d, METH_OLDARGS}, + {"v3d", gl_v3d, METH_OLDARGS}, + {"v4d", gl_v4d, METH_OLDARGS}, + {"pixmode", gl_pixmode, METH_OLDARGS}, + {"qgetfd", gl_qgetfd, METH_OLDARGS}, + {"dither", gl_dither, METH_OLDARGS}, {NULL, NULL} /* Sentinel */ }; |