Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(158687)

Delta Between Two Patch Sets: Include/compile.h

Issue 11619: On Windows, don't encode filenames in the import machinery
Left Patch Set: Created 8 years, 7 months ago
Right Patch Set: Created 6 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Include/ast.h ('k') | Include/parsetok.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 #ifndef Py_LIMITED_API
2 #ifndef Py_COMPILE_H 1 #ifndef Py_COMPILE_H
3 #define Py_COMPILE_H 2 #define Py_COMPILE_H
4 3
4 #ifndef Py_LIMITED_API
5 #include "code.h" 5 #include "code.h"
6 6
7 #ifdef __cplusplus 7 #ifdef __cplusplus
8 extern "C" { 8 extern "C" {
9 #endif 9 #endif
10 10
11 /* Public interface */ 11 /* Public interface */
12 struct _node; /* Declare the existence of this type */ 12 struct _node; /* Declare the existence of this type */
13 PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *); 13 PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);
14 14
(...skipping 29 matching lines...) Expand all
44 PyArena *arena); 44 PyArena *arena);
45 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST( 45 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(
46 struct _mod * mod, 46 struct _mod * mod,
47 const char *filename /* decoded from the filesystem encoding */ 47 const char *filename /* decoded from the filesystem encoding */
48 ); 48 );
49 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromASTObject( 49 PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromASTObject(
50 struct _mod * mod, 50 struct _mod * mod,
51 PyObject *filename 51 PyObject *filename
52 ); 52 );
53 53
54 /* _Py_Mangle is defined in compile.c */
55 PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
54 56
55 #ifdef __cplusplus 57 #ifdef __cplusplus
56 } 58 }
57 #endif 59 #endif
60
61 #endif /* !Py_LIMITED_API */
62
63 /* These definitions must match corresponding definitions in graminit.h.
64 There's code in compile.c that checks that they are the same. */
65 #define Py_single_input 256
66 #define Py_file_input 257
67 #define Py_eval_input 258
68
58 #endif /* !Py_COMPILE_H */ 69 #endif /* !Py_COMPILE_H */
59 #endif /* !Py_LIMITED_API */
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+