Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Include/pythonrun.h

    r2 r388  
    1717
    1818typedef struct {
    19         int cf_flags;  /* bitmask of CO_xxx flags relevant to future */
     19    int cf_flags;  /* bitmask of CO_xxx flags relevant to future */
    2020} PyCompilerFlags;
    2121
     
    4040PyAPI_FUNC(int) PyRun_InteractiveLoopFlags(FILE *, const char *, PyCompilerFlags *);
    4141
    42 PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *, 
    43                                                 int, PyCompilerFlags *flags,
     42PyAPI_FUNC(struct _mod *) PyParser_ASTFromString(const char *, const char *,
     43                                                int, PyCompilerFlags *flags,
    4444                                                 PyArena *);
    45 PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int, 
    46                                                char *, char *,
     45PyAPI_FUNC(struct _mod *) PyParser_ASTFromFile(FILE *, const char *, int,
     46                                               char *, char *,
    4747                                               PyCompilerFlags *, int *,
    4848                                               PyArena *);
    4949#define PyParser_SimpleParseString(S, B) \
    50         PyParser_SimpleParseStringFlags(S, B, 0)
     50    PyParser_SimpleParseStringFlags(S, B, 0)
    5151#define PyParser_SimpleParseFile(FP, S, B) \
    52         PyParser_SimpleParseFileFlags(FP, S, B, 0)
    53 PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int, 
    54                                                           int);
     52    PyParser_SimpleParseFileFlags(FP, S, B, 0)
     53PyAPI_FUNC(struct _node *) PyParser_SimpleParseStringFlags(const char *, int,
     54                                                          int);
    5555PyAPI_FUNC(struct _node *) PyParser_SimpleParseFileFlags(FILE *, const char *,
    56                                                         int, int);
     56                                                        int, int);
    5757
    58 PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *, 
    59                                         PyObject *, PyCompilerFlags *);
     58PyAPI_FUNC(PyObject *) PyRun_StringFlags(const char *, int, PyObject *,
     59                                        PyObject *, PyCompilerFlags *);
    6060
    61 PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int, 
    62                                          PyObject *, PyObject *, int,
    63                                         PyCompilerFlags *);
     61PyAPI_FUNC(PyObject *) PyRun_FileExFlags(FILE *, const char *, int,
     62                                         PyObject *, PyObject *, int,
     63                                        PyCompilerFlags *);
    6464
    6565#define Py_CompileString(str, p, s) Py_CompileStringFlags(str, p, s, NULL)
    6666PyAPI_FUNC(PyObject *) Py_CompileStringFlags(const char *, const char *, int,
    67                                              PyCompilerFlags *);
     67                                             PyCompilerFlags *);
    6868PyAPI_FUNC(struct symtable *) Py_SymtableString(const char *, const char *, int);
    6969
     
    8585#define PyRun_AnyFile(fp, name) PyRun_AnyFileExFlags(fp, name, 0, NULL)
    8686#define PyRun_AnyFileEx(fp, name, closeit) \
    87         PyRun_AnyFileExFlags(fp, name, closeit, NULL)
     87    PyRun_AnyFileExFlags(fp, name, closeit, NULL)
    8888#define PyRun_AnyFileFlags(fp, name, flags) \
    89         PyRun_AnyFileExFlags(fp, name, 0, flags)
     89    PyRun_AnyFileExFlags(fp, name, 0, flags)
    9090#define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL)
    9191#define PyRun_SimpleFile(f, p) PyRun_SimpleFileExFlags(f, p, 0, NULL)
     
    9494#define PyRun_InteractiveLoop(f, p) PyRun_InteractiveLoopFlags(f, p, NULL)
    9595#define PyRun_File(fp, p, s, g, l) \
    96         PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
     96    PyRun_FileExFlags(fp, p, s, g, l, 0, NULL)
    9797#define PyRun_FileEx(fp, p, s, g, l, c) \
    98         PyRun_FileExFlags(fp, p, s, g, l, c, NULL)
     98    PyRun_FileExFlags(fp, p, s, g, l, c, NULL)
    9999#define PyRun_FileFlags(fp, p, s, g, l, flags) \
    100         PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
     100    PyRun_FileExFlags(fp, p, s, g, l, 0, flags)
    101101
    102102/* In getpath.c */
     
    115115PyAPI_FUNC(const char *) Py_SubversionRevision(void);
    116116PyAPI_FUNC(const char *) Py_SubversionShortBranch(void);
     117PyAPI_FUNC(const char *) _Py_hgidentifier(void);
     118PyAPI_FUNC(const char *) _Py_hgversion(void);
    117119
    118120/* Internal -- various one-time initializations */
     
    124126PyAPI_FUNC(int) _PyFrame_Init(void);
    125127PyAPI_FUNC(int) _PyInt_Init(void);
     128PyAPI_FUNC(int) _PyLong_Init(void);
    126129PyAPI_FUNC(void) _PyFloat_Init(void);
    127130PyAPI_FUNC(int) PyByteArray_Init(void);
     131PyAPI_FUNC(void) _PyRandom_Init(void);
    128132
    129133/* Various internal finalizers */
     
    169173PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);
    170174
     175/* Random */
     176PyAPI_FUNC(int) _PyOS_URandom (void *buffer, Py_ssize_t size);
    171177
    172178#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.