* 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().
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 @@
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 @@
{
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 @@
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 @@
{
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 @@
{
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 @@
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);