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;
...@@ -1766,6 +1766,8 @@ initBTree() ...@@ -1766,6 +1766,8 @@ initBTree()
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())
Py_FatalError("can't initialize module BTree"); Py_FatalError("can't initialize module BTree");
...@@ -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;
...@@ -556,6 +556,8 @@ initintSet() ...@@ -556,6 +556,8 @@ initintSet()
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())
Py_FatalError("can't initialize module intSet"); Py_FatalError("can't initialize module intSet");
...@@ -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