Commit 6938649b authored by Jim Fulton's avatar Jim Fulton

added dcprotect

parent 949cb8e5
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
static char BTree_module_documentation[] = static char BTree_module_documentation[] =
"" ""
"\n$Id: BTree.c,v 1.8 1997/11/03 15:17:53 jim Exp $" "\n$Id: BTree.c,v 1.9 1997/11/13 20:38:35 jim Exp $"
; ;
#define PERSISTENT #define PERSISTENT
...@@ -1720,7 +1720,7 @@ initBTree() ...@@ -1720,7 +1720,7 @@ initBTree()
#endif #endif
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.8 $"; char *rev="$Revision: 1.9 $";
UNLESS(PyExtensionClassCAPI=PyCObject_Import("ExtensionClass","CAPI")) UNLESS(PyExtensionClassCAPI=PyCObject_Import("ExtensionClass","CAPI"))
return; return;
...@@ -1765,6 +1765,8 @@ initBTree() ...@@ -1765,6 +1765,8 @@ initBTree()
PyDict_SetItemString(d, "__version__", PyDict_SetItemString(d, "__version__",
PyString_FromStringAndSize(rev+11,strlen(rev+11)-2)); PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
#include "dcprotect.h"
/* Check for errors */ /* Check for errors */
if (PyErr_Occurred()) if (PyErr_Occurred())
...@@ -1780,6 +1782,9 @@ initBTree() ...@@ -1780,6 +1782,9 @@ initBTree()
Revision Log: Revision Log:
$Log: BTree.c,v $ $Log: BTree.c,v $
Revision 1.9 1997/11/13 20:38:35 jim
added dcprotect
Revision 1.8 1997/11/03 15:17:53 jim Revision 1.8 1997/11/03 15:17:53 jim
Fixed stupid bug in has_key methods. Fixed stupid bug in has_key methods.
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
static char intSet_module_documentation[] = static char intSet_module_documentation[] =
"" ""
"\n$Id: intSet.c,v 1.3 1997/10/01 02:45:58 jim Exp $" "\n$Id: intSet.c,v 1.4 1997/11/13 20:38:39 jim Exp $"
; ;
#include <limits.h> #include <limits.h>
...@@ -527,7 +527,7 @@ void ...@@ -527,7 +527,7 @@ void
initintSet() initintSet()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.3 $"; char *rev="$Revision: 1.4 $";
UNLESS(ExtensionClassImported) return; UNLESS(ExtensionClassImported) return;
...@@ -555,6 +555,8 @@ initintSet() ...@@ -555,6 +555,8 @@ initintSet()
PyDict_SetItemString(d, "__version__", PyDict_SetItemString(d, "__version__",
PyString_FromStringAndSize(rev+11,strlen(rev+11)-2)); PyString_FromStringAndSize(rev+11,strlen(rev+11)-2));
#include "dcprotect.h"
/* Check for errors */ /* Check for errors */
if (PyErr_Occurred()) if (PyErr_Occurred())
...@@ -566,6 +568,9 @@ initintSet() ...@@ -566,6 +568,9 @@ initintSet()
Revision Log: Revision Log:
$Log: intSet.c,v $ $Log: intSet.c,v $
Revision 1.4 1997/11/13 20:38:39 jim
added dcprotect
Revision 1.3 1997/10/01 02:45:58 jim Revision 1.3 1997/10/01 02:45:58 jim
Minor reformat. Minor reformat.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment