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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZEO
Commits
98b0ee9c
Commit
98b0ee9c
authored
Jun 02, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Repaired some new comments.
parent
c2291c22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/BTrees/BTreeModuleTemplate.c
src/BTrees/BTreeModuleTemplate.c
+4
-4
No files found.
src/BTrees/BTreeModuleTemplate.c
View file @
98b0ee9c
...
...
@@ -198,7 +198,7 @@ staticforward PyExtensionClass BTreeType;
* si.set.
* 4. Process all the elements:
* while (si.position >= 0) {
* do something si.key and/or si.value;
* do something
with
si.key and/or si.value;
* if (si.next(&si) < 0) {
* there was an error;
* Py_XDECREF(si.set);
...
...
@@ -214,8 +214,8 @@ typedef struct SetIteration_s
int
position
;
/* initialized to 0; set to -1 by next() when done */
int
hasValue
;
/* true iff 'set' has values (as well as keys) */
KEY_TYPE
key
;
/* next() sets to next key */
VALUE_TYPE
value
;
/* next()
sets to next value, iff hasValue is tr
ue */
int
(
*
next
)(
struct
SetIteration_s
*
);
/* function to get next
element
*/
VALUE_TYPE
value
;
/* next()
may set to next val
ue */
int
(
*
next
)(
struct
SetIteration_s
*
);
/* function to get next
key+value
*/
}
SetIteration
;
static
PyObject
*
...
...
@@ -384,7 +384,7 @@ static char BTree_module_documentation[] =
"
\n
"
MASTER_ID
BTREEITEMSTEMPLATE_C
"$Id: BTreeModuleTemplate.c,v 1.2
8 2002/06/02 07:40:20
tim_one Exp $
\n
"
"$Id: BTreeModuleTemplate.c,v 1.2
9 2002/06/02 07:46:43
tim_one Exp $
\n
"
BTREETEMPLATE_C
BUCKETTEMPLATE_C
KEYMACROS_H
...
...
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