Staging
v0.5.1
https://github.com/python/cpython
Revision 578ceee04226d94322e29dbdb26c0919c8e18fa4 authored by Jeremy Hylton on 23 January 2001, 01:51:40 UTC, committed by Jeremy Hylton on 23 January 2001, 01:51:40 UTC
otherwise used in the same code block.  (Not sure this is the right
place, but there is no test_list_comprehensions.py.)
1 parent 2528b19
Raw File
Tip revision: 578ceee04226d94322e29dbdb26c0919c8e18fa4 authored by Jeremy Hylton on 23 January 2001, 01:51:40 UTC
Add simple test of list comprehension that uses a name that isn't
Tip revision: 578ceee
marshal.h

/* Interface for marshal.c */

#ifndef Py_MARSHAL_H
#define Py_MARSHAL_H
#ifdef __cplusplus
extern "C" {
#endif

DL_IMPORT(void) PyMarshal_WriteLongToFile(long, FILE *);
DL_IMPORT(void) PyMarshal_WriteShortToFile(int, FILE *);
DL_IMPORT(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
DL_IMPORT(PyObject *) PyMarshal_WriteObjectToString(PyObject *);

DL_IMPORT(long) PyMarshal_ReadLongFromFile(FILE *);
DL_IMPORT(int) PyMarshal_ReadShortFromFile(FILE *);
DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromFile(FILE *);
DL_IMPORT(PyObject *) PyMarshal_ReadObjectFromString(char *, int);

#ifdef __cplusplus
}
#endif
#endif /* !Py_MARSHAL_H */
back to top