Fix two instances of empty argument lists, and fix style

('PyObject** x' -> 'PyObject **x')
This commit is contained in:
Thomas Wouters 2000-07-22 18:45:06 +00:00
parent ba48a3f3ff
commit 0452d1f316

View file

@ -179,7 +179,8 @@ make_class(PyObject** klass, PyObject* base,
/* Use this for *args signatures, otherwise just use PyArg_ParseTuple() */
static PyObject* get_self(PyObject* args)
static PyObject *
get_self(PyObject *args)
{
PyObject *self = PyTuple_GetItem(args, 0);
if (!self) {
@ -855,16 +856,14 @@ PyObject *PyExc_MemoryErrorInst;
/* mapping between exception names and their PyObject ** */
static struct
{
static struct {
char *name;
PyObject **exc;
PyObject **base; /* NULL == PyExc_StandardError */
char *docstr;
PyMethodDef *methods;
int (*classinit)(PyObject *);
}
exctable[] = {
} exctable[] = {
/*
* The first three classes MUST appear in exactly this order
*/
@ -928,7 +927,7 @@ void
#ifdef WIN32
__declspec(dllexport)
#endif /* WIN32 */
init_exceptions()
init_exceptions(void)
{
char *modulename = "exceptions";
int modnamesz = strlen(modulename);
@ -1014,7 +1013,7 @@ void
#ifdef WIN32
__declspec(dllexport)
#endif /* WIN32 */
fini_exceptions()
fini_exceptions(void)
{
int i;