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
ada4afa7
Commit
ada4afa7
authored
Mar 28, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc -Wall cleanup
Add braces and func decl as prototype.
parent
eaa9edfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/ZODB/coptimizations.c
src/ZODB/coptimizations.c
+4
-4
No files found.
src/ZODB/coptimizations.c
View file @
ada4afa7
...
...
@@ -149,7 +149,7 @@ persistent_id_call(persistent_id *self, PyObject *args, PyObject *kwargs)
Yee ha!
(Also get klass along the way.)
*/
if
(
!
PyExtensionClass_Check
(
object
))
if
(
!
PyExtensionClass_Check
(
object
))
{
if
(
PyExtensionInstance_Check
(
object
))
{
UNLESS
(
klass
=
PyObject_GetAttr
(
object
,
py___class__
))
...
...
@@ -165,7 +165,7 @@ persistent_id_call(persistent_id *self, PyObject *args, PyObject *kwargs)
goto
not_persistent
;
}
else
}
else
goto
not_persistent
;
UNLESS
(
oid
=
PyObject_GetAttr
(
object
,
py__p_oid
))
...
...
@@ -314,10 +314,10 @@ static struct PyMethodDef Module_Level__methods[] = {
};
void
initcoptimizations
()
initcoptimizations
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
9
$"
;
char
*
rev
=
"$Revision: 1.
10
$"
;
#define make_string(S) if (! (py_ ## S=PyString_FromString(#S))) return
make_string
(
_p_oid
);
...
...
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