diff options
author | Guido van Rossum <guido@python.org> | 1993-06-17 12:35:49 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-06-17 12:35:49 (GMT) |
commit | 234f942aefb779efa6cfb7225e21d16a3f7e80f7 (patch) | |
tree | 9c85e1ae919ebb44c0a1ca48bdfd11d5f60c7d9c /Modules/flmodule.c | |
parent | 6a0e2282c359801bd70742642d24f7b0b74f5b4e (diff) | |
download | cpython-234f942aefb779efa6cfb7225e21d16a3f7e80f7.zip cpython-234f942aefb779efa6cfb7225e21d16a3f7e80f7.tar.gz cpython-234f942aefb779efa6cfb7225e21d16a3f7e80f7.tar.bz2 |
* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
Added $(SYSDEF) to its build rule in Makefile.
* cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also
changed files that still used it... And made several things static
that weren't but should have been... And other minor cleanups...
* listobject.[ch]: add external interfaces {set,get}listslice
* socketmodule.c: fix bugs in new send() argument parsing.
* sunaudiodevmodule.c: added flush() and close().
Diffstat (limited to 'Modules/flmodule.c')
-rw-r--r-- | Modules/flmodule.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/flmodule.c b/Modules/flmodule.c index 3d424d1..0cc08da 100644 --- a/Modules/flmodule.c +++ b/Modules/flmodule.c @@ -528,7 +528,7 @@ call_forms_INiINstr (func, obj, args) char *b; int a; - if (!getintstrarg(args, &a, &b)) return NULL; + if (!getargs(args, "(is)", &a, &b)) return NULL; (*func) (obj, a, b); @@ -546,7 +546,7 @@ call_forms_INiINi (func, obj, args) { int par1, par2; - if (!getintintarg(args, &par1, &par2)) return NULL; + if (!getargs(args, "(ii)", &par1, &par2)) return NULL; (*func) (obj, par1, par2); @@ -1048,7 +1048,7 @@ get_default(g, args) c = fl_get_default (g->ob_generic); - return ((object *) mknewcharobject (c)); /* in cgensupport.c */ + return mkvalue("c", c); } static struct methodlist default_methods[] = { @@ -1479,7 +1479,7 @@ form_call_INiINi(func, f, args) { int a, b; - if (!getintintarg(args, &a, &b)) return NULL; + if (!getargs(args, "(ii)", &a, &b)) return NULL; (*func)(f, a, b); @@ -2144,7 +2144,7 @@ forms_set_graphics_mode(dummy, args) { int rgbmode, doublebuf; - if (!getintintarg(args, &rgbmode, &doublebuf)) + if (!getargs(args, "(ii)", &rgbmode, &doublebuf)) return NULL; fl_set_graphics_mode(rgbmode,doublebuf); INCREF(None); @@ -2441,7 +2441,7 @@ forms_show_input(f, args) char *str; char *a, *b; - if (!getstrstrarg(args, &a, &b)) return NULL; + if (!getargs(args, "(ss)", &a, &b)) return NULL; BGN_SAVE str = fl_show_input(a, b); |