Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
9aa1a3c2
Commit
9aa1a3c2
authored
Oct 01, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor reformat.
parent
3559312e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/ZODB/intSet.c
src/ZODB/intSet.c
+7
-4
No files found.
src/ZODB/intSet.c
View file @
9aa1a3c2
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment