Trees | Indices | Toggle frames |
---|
General interface for SDL to read and write data sources.
For files, use SDL_RWFromFile. Other Python file-type objects can be used with SDL_RWFromObject. If another library provides a constant void pointer to a contiguous region of memory, SDL_RWFromMem and SDL_RWFromConstMem can be used.
SDL_RWops
Read/write operations structure.
|
SDL_RWops |
SDL_RWFromObject(obj)
Construct an SDL_RWops structure from a Python file-like object.
|
__package__ =
|
Construct an SDL_RWops structure from a Python file-like object.
The object must support the following methods in the same fashion as the builtin file object:
- read(len) -> data
- write(data)
- seek(offset, whence)
- close()
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Wed Oct 26 10:00:10 2011 | http://epydoc.sourceforge.net |