\f
static PyObject *
-signal_default_int_handler(self, arg)
- PyObject *self;
- PyObject *arg;
+signal_default_int_handler(PyObject *self, PyObject *args)
{
PyErr_SetNone(PyExc_KeyboardInterrupt);
return NULL;
\f
static RETSIGTYPE
-signal_handler(sig_num)
- int sig_num;
+signal_handler(int sig_num)
{
#ifdef WITH_THREAD
/* See NOTES section above */
\f
#ifdef HAVE_ALARM
static PyObject *
-signal_alarm(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_alarm(PyObject *self, PyObject *args)
{
int t;
if (!PyArg_Parse(args, "i", &t))
#ifdef HAVE_PAUSE
static PyObject *
-signal_pause(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_pause(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
return NULL;
\f
static PyObject *
-signal_signal(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_signal(PyObject *self, PyObject *args)
{
PyObject *obj;
int sig_num;
\f
static PyObject *
-signal_getsignal(self, args)
- PyObject *self; /* Not used */
- PyObject *args;
+signal_getsignal(PyObject *self, PyObject *args)
{
int sig_num;
PyObject *old_handler;
#include "timing.h"
static PyObject *
-start_timing(self, args)
- PyObject *self;
- PyObject *args;
+start_timing(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
}
static PyObject *
-finish_timing(self, args)
- PyObject *self;
- PyObject *args;
+finish_timing(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
}
static PyObject *
-seconds(self, args)
- PyObject *self;
- PyObject *args;
+seconds(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
}
static PyObject *
-milli(self, args)
- PyObject *self;
- PyObject *args;
+milli(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;
}
static PyObject *
-micro(self, args)
- PyObject *self;
- PyObject *args;
+micro(PyObject *self, PyObject *args)
{
if (!PyArg_Parse(args, ""))
return NULL;