Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Zope
Commits
7a156d59
Commit
7a156d59
authored
May 12, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added additional persistence flag. This is needed so that
we can test for persistence from C.
parent
007e53e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
lib/Components/BTree/BTree.c
lib/Components/BTree/BTree.c
+4
-4
lib/Components/BTree/intSet.c
lib/Components/BTree/intSet.c
+3
-3
No files found.
lib/Components/BTree/BTree.c
View file @
7a156d59
...
...
@@ -85,7 +85,7 @@
static
char
BTree_module_documentation
[]
=
""
"
\n
$Id: BTree.c,v 1.2
0 1999/05/07 01:41:40
jim Exp $"
"
\n
$Id: BTree.c,v 1.2
1 1999/05/12 15:49:08
jim Exp $"
;
#define PERSISTENT
...
...
@@ -1784,7 +1784,7 @@ static PyExtensionClass BucketType = {
0L
,
0L
,
"Mapping type implemented as sorted list of items"
,
METHOD_CHAIN
(
Bucket_methods
),
EXTENSIONCLASS_BASICNEW_FLAG
,
EXTENSIONCLASS_BASICNEW_FLAG
|
PERSISTENT_TYPE_FLAG
,
};
static
PyExtensionClass
BTreeType
=
{
...
...
@@ -1813,7 +1813,7 @@ static PyExtensionClass BTreeType = {
0L
,
0L
,
"Mapping type implemented as sorted list of items"
,
METHOD_CHAIN
(
BTree_methods
),
EXTENSIONCLASS_BASICNEW_FLAG
,
EXTENSIONCLASS_BASICNEW_FLAG
|
PERSISTENT_TYPE_FLAG
,
};
static
struct
PyMethodDef
module_methods
[]
=
{
...
...
@@ -1840,7 +1840,7 @@ initBTree()
#endif
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.2
0
$"
;
char
*
rev
=
"$Revision: 1.2
1
$"
;
UNLESS
(
PyExtensionClassCAPI
=
PyCObject_Import
(
"ExtensionClass"
,
"CAPI"
))
return
;
...
...
lib/Components/BTree/intSet.c
View file @
7a156d59
...
...
@@ -85,7 +85,7 @@
static
char
intSet_module_documentation
[]
=
""
"
\n
$Id: intSet.c,v 1.1
4 1999/05/07 01:42:53
jim Exp $"
"
\n
$Id: intSet.c,v 1.1
5 1999/05/12 15:49:25
jim Exp $"
;
#include <limits.h>
...
...
@@ -600,7 +600,7 @@ static PyExtensionClass intSetType = {
0L
,
0L
,
"A set of integers"
,
METHOD_CHAIN
(
intSet_methods
),
EXTENSIONCLASS_BASICNEW_FLAG
,
EXTENSIONCLASS_BASICNEW_FLAG
|
PERSISTENT_TYPE_FLAG
,
};
static
struct
PyMethodDef
module_methods
[]
=
{
...
...
@@ -611,7 +611,7 @@ void
initintSet
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.1
4
$"
;
char
*
rev
=
"$Revision: 1.1
5
$"
;
UNLESS
(
ExtensionClassImported
)
return
;
...
...
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