Commit 6bfad104 authored by Jim Fulton's avatar Jim Fulton

Added basicnew support.

parent 02e3ed05
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
static char intSet_module_documentation[] = static char intSet_module_documentation[] =
"" ""
"\n$Id: intSet.c,v 1.5 1997/11/13 20:47:13 jim Exp $" "\n$Id: intSet.c,v 1.6 1997/12/12 23:48:07 jim Exp $"
; ;
#include <limits.h> #include <limits.h>
...@@ -517,6 +517,7 @@ static PyExtensionClass intSetType = { ...@@ -517,6 +517,7 @@ static PyExtensionClass intSetType = {
0L,0L, 0L,0L,
"A set of integers", "A set of integers",
METHOD_CHAIN(intSet_methods), METHOD_CHAIN(intSet_methods),
EXTENSIONCLASS_BASICNEW_FLAG,
}; };
static struct PyMethodDef module_methods[] = { static struct PyMethodDef module_methods[] = {
...@@ -527,7 +528,7 @@ void ...@@ -527,7 +528,7 @@ void
initintSet() initintSet()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.5 $"; char *rev="$Revision: 1.6 $";
UNLESS(ExtensionClassImported) return; UNLESS(ExtensionClassImported) return;
...@@ -568,6 +569,9 @@ initintSet() ...@@ -568,6 +569,9 @@ initintSet()
Revision Log: Revision Log:
$Log: intSet.c,v $ $Log: intSet.c,v $
Revision 1.6 1997/12/12 23:48:07 jim
Added basicnew support.
Revision 1.5 1997/11/13 20:47:13 jim Revision 1.5 1997/11/13 20:47:13 jim
Fixed some bad return values. Fixed some bad return values.
......
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