X-Git-Url: https://git.distorted.org.uk/~mdw/mLib-python/blobdiff_plain/d8d81d1b049836f7d4fae7b0077a8ce9e2fc43ac..356b1b0e53e1c2ce4aee3833d2de9e279e281f7a:/atom-base.c diff --git a/atom-base.c b/atom-base.c index 62a45a6..f57eaee 100644 --- a/atom-base.c +++ b/atom-base.c @@ -1,7 +1,5 @@ /* -*-c-*- * - * $Id$ - * * Atom stuff * * (c) 2005 Straylight/Edgeware @@ -68,7 +66,7 @@ PyObject *atom_pyintern(PyObject *x) { atom *a; const void *p; - int n; + Py_ssize_t n; if (ATOM_PYCHECK(x)) RETURN_OBJ(x); @@ -133,7 +131,7 @@ static PyObject *atom_pyrepr(PyObject *me) PyObject *s, *sr = 0; PyObject *rc = 0; char *p; - int n; + Py_ssize_t n; dstr d = DSTR_INIT; if ((s = aget_name(me, 0)) == 0 || @@ -156,7 +154,7 @@ static long atom_pyhash(PyObject *me) PyTypeObject atom_pytype = { PyObject_HEAD_INIT(0) 0, /* Header */ - "atom.Atom", /* @tp_name@ */ + "mLib.Atom", /* @tp_name@ */ sizeof(atom_pyobj), /* @tp_basicsize@ */ 0, /* @tp_itemsize@ */