Commit 9aa1a3c2 authored by Jim Fulton's avatar Jim Fulton

Minor reformat.

parent 3559312e
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
static char intSet_module_documentation[] = static char intSet_module_documentation[] =
"" ""
"\n$Id: intSet.c,v 1.2 1997/09/08 18:41:59 jim Exp $" "\n$Id: intSet.c,v 1.3 1997/10/01 02:45:58 jim Exp $"
; ;
#include <limits.h> #include <limits.h>
...@@ -135,8 +135,8 @@ intSet_modify(intSet *self, INTSET_DATA_TYPE ikey, int add) ...@@ -135,8 +135,8 @@ intSet_modify(intSet *self, INTSET_DATA_TYPE ikey, int add)
{ {
data+=i; data+=i;
self->len--; self->len--;
if(i < (self->len)) memmove(data, data+1, if(i < (self->len))
(self->len-i)*sizeof(INTSET_DATA_TYPE)); memmove(data, data+1, (self->len-i)*sizeof(INTSET_DATA_TYPE));
if(PER_CHANGED(self) < 0) return PER_INT_RETURN(self, -1); if(PER_CHANGED(self) < 0) return PER_INT_RETURN(self, -1);
} }
...@@ -527,7 +527,7 @@ void ...@@ -527,7 +527,7 @@ void
initintSet() initintSet()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.2 $"; char *rev="$Revision: 1.3 $";
UNLESS(ExtensionClassImported) return; UNLESS(ExtensionClassImported) return;
...@@ -566,6 +566,9 @@ initintSet() ...@@ -566,6 +566,9 @@ initintSet()
Revision Log: Revision Log:
$Log: intSet.c,v $ $Log: intSet.c,v $
Revision 1.3 1997/10/01 02:45:58 jim
Minor reformat.
Revision 1.2 1997/09/08 18:41:59 jim Revision 1.2 1997/09/08 18:41:59 jim
Added logic to save data in binary form. Added logic to save data in binary form.
......
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