Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b9feb6eb
Commit
b9feb6eb
authored
Mar 17, 1999
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DLL level b/w compat for PySequence_In and PyEval_CallObject
parent
a757d13a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Include/abstract.h
Include/abstract.h
+6
-0
Include/ceval.h
Include/ceval.h
+4
-0
No files found.
Include/abstract.h
View file @
b9feb6eb
...
...
@@ -754,6 +754,12 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
*/
DL_IMPORT
(
int
)
PySequence_Contains
Py_PROTO
((
PyObject
*
o
,
PyObject
*
value
));
/* For DLL-level backwards compatibility */
#undef PySequence_In
DL_IMPORT
(
int
)
PySequence_In
Py_PROTO
((
PyObject
*
o
,
PyObject
*
value
));
/* For source-level backwards compatibility */
#define PySequence_In PySequence_Contains
/*
...
...
Include/ceval.h
View file @
b9feb6eb
...
...
@@ -40,6 +40,10 @@ PERFORMANCE OF THIS SOFTWARE.
DL_IMPORT
(
PyObject
*
)
PyEval_CallObjectWithKeywords
Py_PROTO
((
PyObject
*
,
PyObject
*
,
PyObject
*
));
/* DLL-level Backwards compatibility: */
#undef PyEval_CallObject
DL_IMPORT
(
PyObject
*
)
PyEval_CallObject
Py_PROTO
((
PyObject
*
,
PyObject
*
));
/* Inline this */
#define PyEval_CallObject(func,arg) \
PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
...
...
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