summaryrefslogtreecommitdiffstats
path: root/Include/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/token.h')
-rw-r--r--Include/token.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/token.h b/Include/token.h
index 3f58106..4e2ec06 100644
--- a/Include/token.h
+++ b/Include/token.h
@@ -71,10 +71,10 @@ extern "C" {
#define ISEOF(x) ((x) == ENDMARKER)
-extern DL_IMPORT(char *) _PyParser_TokenNames[]; /* Token names */
-extern DL_IMPORT(int) PyToken_OneChar(int);
-extern DL_IMPORT(int) PyToken_TwoChars(int, int);
-extern DL_IMPORT(int) PyToken_ThreeChars(int, int, int);
+PyAPI_DATA(char *) _PyParser_TokenNames[]; /* Token names */
+PyAPI_FUNC(int) PyToken_OneChar(int);
+PyAPI_FUNC(int) PyToken_TwoChars(int, int);
+PyAPI_FUNC(int) PyToken_ThreeChars(int, int, int);
#ifdef __cplusplus
}