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
6311178a
Commit
6311178a
authored
Oct 03, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed comparison bug, again :-(
parent
69c4862c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
lib/Components/ExtensionClass/Missing.c
lib/Components/ExtensionClass/Missing.c
+7
-5
lib/Components/ExtensionClass/src/Missing.c
lib/Components/ExtensionClass/src/Missing.c
+7
-5
No files found.
lib/Components/ExtensionClass/Missing.c
View file @
6311178a
...
...
@@ -53,7 +53,7 @@
static
char
Missing_module_documentation
[]
=
""
"
\n
$Id: Missing.c,v 1.
6 1997/09/23 16:06:03
jim Exp $"
"
\n
$Id: Missing.c,v 1.
7 1997/10/03 14:43:27
jim Exp $"
;
#include "ExtensionClass.h"
...
...
@@ -120,8 +120,7 @@ static int
Missing_coerce
(
PyObject
**
pv
,
PyObject
**
pw
)
{
Py_INCREF
(
*
pv
);
Py_INCREF
(
*
pv
);
*
pw
=*
pv
;
Py_INCREF
(
*
pw
);
return
0
;
}
...
...
@@ -246,7 +245,7 @@ Missing_call(PyObject *self, PyObject *args, PyObject *kw)
static
int
Missing_cmp
(
Missing
*
m1
,
Missing
*
m2
)
{
return
0
;
return
m1
->
ob_type
!=
m2
->
ob_type
;
}
static
PyExtensionClass
MissingType
=
{
...
...
@@ -295,7 +294,7 @@ void
initMissing
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
6
$"
;
char
*
rev
=
"$Revision: 1.
7
$"
;
if
(
!
((
vname
=
PyString_FromString
(
"V"
))
&&
(
Missing_dot_Value
=
PyString_FromString
(
"Missing.Value"
))
...
...
@@ -331,6 +330,9 @@ initMissing()
Revision Log:
$Log: Missing.c,v $
Revision 1.7 1997/10/03 14:43:27 jim
Fixed comparison bug, again :-(
Revision 1.6 1997/09/23 16:06:03 jim
Added MV member.
...
...
lib/Components/ExtensionClass/src/Missing.c
View file @
6311178a
...
...
@@ -53,7 +53,7 @@
static
char
Missing_module_documentation
[]
=
""
"
\n
$Id: Missing.c,v 1.
6 1997/09/23 16:06:03
jim Exp $"
"
\n
$Id: Missing.c,v 1.
7 1997/10/03 14:43:27
jim Exp $"
;
#include "ExtensionClass.h"
...
...
@@ -120,8 +120,7 @@ static int
Missing_coerce
(
PyObject
**
pv
,
PyObject
**
pw
)
{
Py_INCREF
(
*
pv
);
Py_INCREF
(
*
pv
);
*
pw
=*
pv
;
Py_INCREF
(
*
pw
);
return
0
;
}
...
...
@@ -246,7 +245,7 @@ Missing_call(PyObject *self, PyObject *args, PyObject *kw)
static
int
Missing_cmp
(
Missing
*
m1
,
Missing
*
m2
)
{
return
0
;
return
m1
->
ob_type
!=
m2
->
ob_type
;
}
static
PyExtensionClass
MissingType
=
{
...
...
@@ -295,7 +294,7 @@ void
initMissing
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
6
$"
;
char
*
rev
=
"$Revision: 1.
7
$"
;
if
(
!
((
vname
=
PyString_FromString
(
"V"
))
&&
(
Missing_dot_Value
=
PyString_FromString
(
"Missing.Value"
))
...
...
@@ -331,6 +330,9 @@ initMissing()
Revision Log:
$Log: Missing.c,v $
Revision 1.7 1997/10/03 14:43:27 jim
Fixed comparison bug, again :-(
Revision 1.6 1997/09/23 16:06:03 jim
Added MV member.
...
...
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