[Python-checkins] CVS: python/dist/src/Modules signalmodule.c,2.45,2.46 timingmodule.c,2.5,2.6
Peter Schneider-Kamp
python-dev@python.org
Mon, 10 Jul 2000 05:04:21 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Modules dlmodule.c,2.9,2.10 newmodule.c,2.23,2.24 xxmodule.c,2.18,2.19
- Next message: [Python-checkins] CVS: python/dist/src/Modules resource.c,2.12,2.13 termios.c,2.11,2.12 timemodule.c,2.90,2.91
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv12134
Modified Files:
signalmodule.c timingmodule.c
Log Message:
ANSI-fication
Index: signalmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/signalmodule.c,v
retrieving revision 2.45
retrieving revision 2.46
diff -C2 -r2.45 -r2.46
*** signalmodule.c 2000/07/09 03:09:55 2.45
--- signalmodule.c 2000/07/10 12:04:18 2.46
***************
*** 98,104 ****
static PyObject *
! signal_default_int_handler(self, arg)
! PyObject *self;
! PyObject *arg;
{
PyErr_SetNone(PyExc_KeyboardInterrupt);
--- 98,102 ----
static PyObject *
! signal_default_int_handler(PyObject *self, PyObject *args)
{
PyErr_SetNone(PyExc_KeyboardInterrupt);
***************
*** 114,119 ****
static RETSIGTYPE
! signal_handler(sig_num)
! int sig_num;
{
#ifdef WITH_THREAD
--- 112,116 ----
static RETSIGTYPE
! signal_handler(int sig_num)
{
#ifdef WITH_THREAD
***************
*** 147,153 ****
#ifdef HAVE_ALARM
static PyObject *
! signal_alarm(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
int t;
--- 144,148 ----
#ifdef HAVE_ALARM
static PyObject *
! signal_alarm(PyObject *self, PyObject *args)
{
int t;
***************
*** 166,172 ****
#ifdef HAVE_PAUSE
static PyObject *
! signal_pause(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
if (!PyArg_NoArgs(args))
--- 161,165 ----
#ifdef HAVE_PAUSE
static PyObject *
! signal_pause(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
***************
*** 194,200 ****
static PyObject *
! signal_signal(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
PyObject *obj;
--- 187,191 ----
static PyObject *
! signal_signal(PyObject *self, PyObject *args)
{
PyObject *obj;
***************
*** 254,260 ****
static PyObject *
! signal_getsignal(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
int sig_num;
--- 245,249 ----
static PyObject *
! signal_getsignal(PyObject *self, PyObject *args)
{
int sig_num;
Index: timingmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/timingmodule.c,v
retrieving revision 2.5
retrieving revision 2.6
diff -C2 -r2.5 -r2.6
*** timingmodule.c 1998/12/04 18:50:16 2.5
--- timingmodule.c 2000/07/10 12:04:18 2.6
***************
*** 9,15 ****
static PyObject *
! start_timing(self, args)
! PyObject *self;
! PyObject *args;
{
if (!PyArg_Parse(args, ""))
--- 9,13 ----
static PyObject *
! start_timing(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
***************
*** 22,28 ****
static PyObject *
! finish_timing(self, args)
! PyObject *self;
! PyObject *args;
{
if (!PyArg_Parse(args, ""))
--- 20,24 ----
static PyObject *
! finish_timing(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
***************
*** 35,41 ****
static PyObject *
! seconds(self, args)
! PyObject *self;
! PyObject *args;
{
if (!PyArg_Parse(args, ""))
--- 31,35 ----
static PyObject *
! seconds(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
***************
*** 47,53 ****
static PyObject *
! milli(self, args)
! PyObject *self;
! PyObject *args;
{
if (!PyArg_Parse(args, ""))
--- 41,45 ----
static PyObject *
! milli(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
***************
*** 58,64 ****
}
static PyObject *
! micro(self, args)
! PyObject *self;
! PyObject *args;
{
if (!PyArg_Parse(args, ""))
--- 50,54 ----
}
static PyObject *
! micro(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
- Previous message: [Python-checkins] CVS: python/dist/src/Modules dlmodule.c,2.9,2.10 newmodule.c,2.23,2.24 xxmodule.c,2.18,2.19
- Next message: [Python-checkins] CVS: python/dist/src/Modules resource.c,2.12,2.13 termios.c,2.11,2.12 timemodule.c,2.90,2.91
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]