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
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
Nicolas Wavrant
ZODB
Commits
a2dc6f0b
Commit
a2dc6f0b
authored
Jun 14, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ooops. Call method with C API function that exists in Python 2.1.
parent
81d666f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/Persistence/cPersistence.c
src/Persistence/cPersistence.c
+2
-2
src/ZODB/cPersistence.c
src/ZODB/cPersistence.c
+2
-2
src/persistent/cPersistence.c
src/persistent/cPersistence.c
+2
-2
No files found.
src/Persistence/cPersistence.c
View file @
a2dc6f0b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.6
0 2002/06/14 15:29
:30 jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.6
1 2002/06/14 15:34
:30 jeremy Exp $
\n
"
;
#include "cPersistence.h"
#include "cPersistence.h"
...
@@ -232,7 +232,7 @@ changed(cPersistentObject *self)
...
@@ -232,7 +232,7 @@ changed(cPersistentObject *self)
return
-
1
;
return
-
1
;
}
}
PyTuple_SET_ITEM
(
arg
,
0
,
(
PyObject
*
)
self
);
PyTuple_SET_ITEM
(
arg
,
0
,
(
PyObject
*
)
self
);
result
=
Py
Object_Call
(
meth
,
arg
,
NULL
);
result
=
Py
Eval_CallObject
(
meth
,
arg
);
PyTuple_SET_ITEM
(
arg
,
0
,
NULL
);
PyTuple_SET_ITEM
(
arg
,
0
,
NULL
);
Py_DECREF
(
arg
);
Py_DECREF
(
arg
);
Py_DECREF
(
meth
);
Py_DECREF
(
meth
);
...
...
src/ZODB/cPersistence.c
View file @
a2dc6f0b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.6
0 2002/06/14 15:29
:30 jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.6
1 2002/06/14 15:34
:30 jeremy Exp $
\n
"
;
#include "cPersistence.h"
#include "cPersistence.h"
...
@@ -232,7 +232,7 @@ changed(cPersistentObject *self)
...
@@ -232,7 +232,7 @@ changed(cPersistentObject *self)
return
-
1
;
return
-
1
;
}
}
PyTuple_SET_ITEM
(
arg
,
0
,
(
PyObject
*
)
self
);
PyTuple_SET_ITEM
(
arg
,
0
,
(
PyObject
*
)
self
);
result
=
Py
Object_Call
(
meth
,
arg
,
NULL
);
result
=
Py
Eval_CallObject
(
meth
,
arg
);
PyTuple_SET_ITEM
(
arg
,
0
,
NULL
);
PyTuple_SET_ITEM
(
arg
,
0
,
NULL
);
Py_DECREF
(
arg
);
Py_DECREF
(
arg
);
Py_DECREF
(
meth
);
Py_DECREF
(
meth
);
...
...
src/persistent/cPersistence.c
View file @
a2dc6f0b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
static
char
cPersistence_doc_string
[]
=
static
char
cPersistence_doc_string
[]
=
"Defines Persistent mixin class for persistent objects.
\n
"
"Defines Persistent mixin class for persistent objects.
\n
"
"
\n
"
"
\n
"
"$Id: cPersistence.c,v 1.6
0 2002/06/14 15:29
:30 jeremy Exp $
\n
"
;
"$Id: cPersistence.c,v 1.6
1 2002/06/14 15:34
:30 jeremy Exp $
\n
"
;
#include "cPersistence.h"
#include "cPersistence.h"
...
@@ -232,7 +232,7 @@ changed(cPersistentObject *self)
...
@@ -232,7 +232,7 @@ changed(cPersistentObject *self)
return
-
1
;
return
-
1
;
}
}
PyTuple_SET_ITEM
(
arg
,
0
,
(
PyObject
*
)
self
);
PyTuple_SET_ITEM
(
arg
,
0
,
(
PyObject
*
)
self
);
result
=
Py
Object_Call
(
meth
,
arg
,
NULL
);
result
=
Py
Eval_CallObject
(
meth
,
arg
);
PyTuple_SET_ITEM
(
arg
,
0
,
NULL
);
PyTuple_SET_ITEM
(
arg
,
0
,
NULL
);
Py_DECREF
(
arg
);
Py_DECREF
(
arg
);
Py_DECREF
(
meth
);
Py_DECREF
(
meth
);
...
...
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