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
21d896cf
Commit
21d896cf
authored
Jul 01, 2003
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros
parent
59aba128
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Include/pyerrors.h
Include/pyerrors.h
+1
-1
Include/stringobject.h
Include/stringobject.h
+1
-1
Modules/bz2module.c
Modules/bz2module.c
+1
-1
Modules/readline.c
Modules/readline.c
+2
-2
No files found.
Include/pyerrors.h
View file @
21d896cf
...
...
@@ -63,7 +63,7 @@ PyAPI_DATA(PyObject *) PyExc_ZeroDivisionError;
PyAPI_DATA
(
PyObject
*
)
PyExc_WindowsError
;
#endif
#ifdef __VMS
extern
DL_IMPORT
(
PyObject
*
)
PyExc_VMSError
;
PyAPI_DATA
(
PyObject
*
)
PyExc_VMSError
;
#endif
PyAPI_DATA
(
PyObject
*
)
PyExc_MemoryErrorInst
;
...
...
Include/stringobject.h
View file @
21d896cf
...
...
@@ -65,7 +65,7 @@ PyAPI_FUNC(int) _PyString_Eq(PyObject *, PyObject*);
PyAPI_FUNC
(
PyObject
*
)
PyString_Format
(
PyObject
*
,
PyObject
*
);
PyAPI_FUNC
(
PyObject
*
)
_PyString_FormatLong
(
PyObject
*
,
int
,
int
,
int
,
char
**
,
int
*
);
extern
DL_IMPORT
(
PyObject
*
)
PyString_DecodeEscape
(
const
char
*
,
int
,
PyAPI_FUNC
(
PyObject
*
)
PyString_DecodeEscape
(
const
char
*
,
int
,
const
char
*
,
int
,
const
char
*
);
...
...
Modules/bz2module.c
View file @
21d896cf
...
...
@@ -2167,7 +2167,7 @@ interface, one shot (de)compression functions, and types for\n\
sequential (de)compression.
\n
\
"
);
DL_EXPORT
(
void
)
PyMODINIT_FUNC
initbz2
(
void
)
{
PyObject
*
m
;
...
...
Modules/readline.c
View file @
21d896cf
...
...
@@ -32,8 +32,8 @@
#endif
/* Pointers needed from outside (but not declared in a header file). */
extern
DL_IMPORT
(
int
)
(
*
PyOS_InputHook
)(
void
);
extern
DL_IMPORT
(
char
)
*
(
*
PyOS_ReadlineFunctionPointer
)(
FILE
*
,
FILE
*
,
char
*
);
PyAPI_FUNC
(
int
)
(
*
PyOS_InputHook
)(
void
);
PyAPI_FUNC
(
char
)
*
(
*
PyOS_ReadlineFunctionPointer
)(
FILE
*
,
FILE
*
,
char
*
);
/* Exported function to send one line to readline's init file parser */
...
...
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