Changeset 391 for python/trunk/Include/cStringIO.h
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Include/cStringIO.h
r2 r391 8 8 This header provides access to cStringIO objects from C. 9 9 Functions are provided for calling cStringIO objects and 10 macros are provided for testing whether you have cStringIO 10 macros are provided for testing whether you have cStringIO 11 11 objects. 12 12 … … 19 19 20 20 */ 21 22 #define PycStringIO_CAPSULE_NAME "cStringIO.cStringIO_CAPI" 23 21 24 #define PycString_IMPORT \ 22 PycStringIO = ( struct PycStringIO_CAPI*)PyCObject_Import("cStringIO",\23 "cStringIO_CAPI")25 PycStringIO = ((struct PycStringIO_CAPI*)PyCapsule_Import(\ 26 PycStringIO_CAPSULE_NAME, 0)) 24 27 25 28 /* Basic functions to manipulate cStringIO objects from C */ 26 29 27 30 static struct PycStringIO_CAPI { 28 31 29 32 /* Read a string from an input object. If the last argument 30 33 is -1, the remainder will be read.
Note:
See TracChangeset
for help on using the changeset viewer.