chiark / gitweb /
Fix qualified names for types supplied by C.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 21 Sep 2008 14:58:42 +0000 (15:58 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 21 Sep 2008 15:19:11 +0000 (16:19 +0100)
array.c
atom-base.c

diff --git a/array.c b/array.c
index 768a926..59f318d 100644 (file)
--- a/array.c
+++ b/array.c
@@ -119,7 +119,7 @@ static void daiter_pydealloc(PyObject *me)
 
 PyTypeObject daiter_pytype = {
   PyObject_HEAD_INIT(0) 0,             /* Header */
-  "array.ArrayIter",                   /* @tp_name@ */
+  "mLib.ArrayIter",                    /* @tp_name@ */
   sizeof(daiter_pyobj),                        /* @tp_basicsize@ */
   0,                                   /* @tp_itemsize@ */
 
@@ -601,7 +601,7 @@ static PyMappingMethods da_pymapping = {
 
 PyTypeObject da_pytype = {
   PyObject_HEAD_INIT(0) 0,             /* Header */
-  "array.Array",                       /* @tp_name@ */
+  "mLib.Array",                                /* @tp_name@ */
   sizeof(da_pyobj),                    /* @tp_basicsize@ */
   0,                                   /* @tp_itemsize@ */
 
index 62a45a6..e1e38f9 100644 (file)
@@ -156,7 +156,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@ */