[Zope3-checkins] CVS: Zope3/src/persistence - persistence.c:1.1.2.3

Barry Warsaw barry@wooz.org
Mon, 23 Dec 2002 16:21:12 -0500


Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv9722

Modified Files:
      Tag: NameGeddon-branch
	persistence.c 
Log Message:
persistence.persistence -> persistence._persistence

Persistence.* -> persistence.*


=== Zope3/src/persistence/persistence.c 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/persistence/persistence.c:1.1.2.2	Mon Dec 23 15:21:50 2002
+++ Zope3/src/persistence/persistence.c	Mon Dec 23 16:21:11 2002
@@ -698,7 +698,7 @@
 static PyTypeObject PyPersist_Type = {
     PyObject_HEAD_INIT(DEFERRED_ADDRESS(&PyPersist_MetaType))
     0,					/* ob_size */
-    "Persistence.Persistent",		/* tp_name */
+    "persistence.Persistent",		/* tp_name */
     sizeof(PyPersistObject),		/* tp_basicsize */
     0,					/* tp_itemsize */
     (destructor)persist_dealloc,	/* tp_dealloc */
@@ -840,7 +840,7 @@
 static PyTypeObject PyPersist_MetaType = {
     PyObject_HEAD_INIT(DEFERRED_ADDRESS(&PyType_Type))
     0,					/* ob_size */
-    "Persistence.PersistentMetaClass",	/* tp_name */
+    "persistence.PersistentMetaClass",	/* tp_name */
 };
 
 #endif
@@ -871,7 +871,7 @@
     PyObject *mod = NULL, *iface = NULL, *implements = NULL;
     int r = -1;
 
-    mod = PyImport_ImportModule("Persistence.interfaces");
+    mod = PyImport_ImportModule("persistence.interfaces");
     if (mod == NULL)
 	goto err;
     iface = PyObject_GetAttrString(mod, "IPersistent");
@@ -905,12 +905,12 @@
 }
 
 void 
-initcPersistence(void)
+init_persistence(void)
 {
     PyObject *m, *d, *v;
 
-    m = Py_InitModule3("cPersistence", PyPersist_methods, 
-		       PyPersist_doc_string);
+    m = Py_InitModule3("_persistence",
+                       PyPersist_methods, PyPersist_doc_string);
     if (m == NULL)
 	return;
     d = PyModule_GetDict(m);