Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
373d3f82
Commit
373d3f82
authored
Apr 02, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jeremy, did you actually try to compile this? If so, what compiler
did you use?
parent
10d51abb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
trunk/src/Persistence/cPickleCache.c
trunk/src/Persistence/cPickleCache.c
+4
-4
trunk/src/ZODB/cPickleCache.c
trunk/src/ZODB/cPickleCache.c
+4
-4
trunk/src/persistent/cPickleCache.c
trunk/src/persistent/cPickleCache.c
+4
-4
No files found.
trunk/src/Persistence/cPickleCache.c
View file @
373d3f82
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.4
6 2002/04/02 11:11:45 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.4
7 2002/04/02 14:35:36 gvanrossum
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
{
{
int
result
;
int
result
;
PyExtensionClass
*
class
;
PyExtensionClass
*
class
;
PyObject
*
oid
,
*
object_again
;
cPersistentObject
*
p
;
if
(
!
PyExtensionInstance_Check
(
v
))
{
if
(
!
PyExtensionInstance_Check
(
v
))
{
PyErr_SetString
(
PyExc_ValueError
,
PyErr_SetString
(
PyExc_ValueError
,
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
}
}
/* XXX Why not self->oid? */
/* XXX Why not self->oid? */
PyObject
*
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
PyObject
*
object_again
;
cPersistentObject
*
p
;
if
(
oid
==
NULL
)
if
(
oid
==
NULL
)
return
-
1
;
return
-
1
;
...
...
trunk/src/ZODB/cPickleCache.c
View file @
373d3f82
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.4
6 2002/04/02 11:11:45 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.4
7 2002/04/02 14:35:36 gvanrossum
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
{
{
int
result
;
int
result
;
PyExtensionClass
*
class
;
PyExtensionClass
*
class
;
PyObject
*
oid
,
*
object_again
;
cPersistentObject
*
p
;
if
(
!
PyExtensionInstance_Check
(
v
))
{
if
(
!
PyExtensionInstance_Check
(
v
))
{
PyErr_SetString
(
PyExc_ValueError
,
PyErr_SetString
(
PyExc_ValueError
,
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
}
}
/* XXX Why not self->oid? */
/* XXX Why not self->oid? */
PyObject
*
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
PyObject
*
object_again
;
cPersistentObject
*
p
;
if
(
oid
==
NULL
)
if
(
oid
==
NULL
)
return
-
1
;
return
-
1
;
...
...
trunk/src/persistent/cPickleCache.c
View file @
373d3f82
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
static
char
cPickleCache_doc_string
[]
=
static
char
cPickleCache_doc_string
[]
=
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"Defines the PickleCache used by ZODB Connection objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPickleCache.c,v 1.4
6 2002/04/02 11:11:45 htrd
Exp $
\n
"
;
"$Id: cPickleCache.c,v 1.4
7 2002/04/02 14:35:36 gvanrossum
Exp $
\n
"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -657,6 +657,8 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
{
{
int
result
;
int
result
;
PyExtensionClass
*
class
;
PyExtensionClass
*
class
;
PyObject
*
oid
,
*
object_again
;
cPersistentObject
*
p
;
if
(
!
PyExtensionInstance_Check
(
v
))
{
if
(
!
PyExtensionInstance_Check
(
v
))
{
PyErr_SetString
(
PyExc_ValueError
,
PyErr_SetString
(
PyExc_ValueError
,
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
...
@@ -673,9 +675,7 @@ cc_add_item(ccobject *self, PyObject *key, PyObject *v)
}
}
/* XXX Why not self->oid? */
/* XXX Why not self->oid? */
PyObject
*
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
oid
=
PyObject_GetAttr
(
v
,
py__p_oid
);
PyObject
*
object_again
;
cPersistentObject
*
p
;
if
(
oid
==
NULL
)
if
(
oid
==
NULL
)
return
-
1
;
return
-
1
;
...
...
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