chiark
/
gitweb
/
~mdw
/
mLib-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
codex.pyx.in: Zap trailing blank line.
[mLib-python]
/
atom-base.c
diff --git
a/atom-base.c
b/atom-base.c
index 62a45a67f097577399c71dbffb9ca3bcaf8a361f..f57eaee2792b731d1dd07153ffc1f3fe4ddced5b 100644
(file)
--- a/
atom-base.c
+++ b/
atom-base.c
@@
-1,6
+1,4
@@
/* -*-c-*-
/* -*-c-*-
- *
- * $Id$
*
* Atom stuff
*
*
* Atom stuff
*
@@
-68,7
+66,7
@@
PyObject *atom_pyintern(PyObject *x)
{
atom *a;
const void *p;
{
atom *a;
const void *p;
-
in
t n;
+
Py_ssize_
t n;
if (ATOM_PYCHECK(x))
RETURN_OBJ(x);
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;
PyObject *s, *sr = 0;
PyObject *rc = 0;
char *p;
-
in
t n;
+
Py_ssize_
t n;
dstr d = DSTR_INIT;
if ((s = aget_name(me, 0)) == 0 ||
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 */
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@ */
sizeof(atom_pyobj), /* @tp_basicsize@ */
0, /* @tp_itemsize@ */