snes._snes_wrapper
index
/home/st/Code/python-snes/snes/_snes_wrapper.py

A low-level ctypes wrapper for the libsnes API.
 
You probably want to use the Python API in snes.core instead of this.

 
Modules
       
atexit
ctypes

 
Classes
       
_ctypes._Pointer(_ctypes._CData)
LP_c_ubyte
LP_c_ushort

 
data_p = class LP_c_ubyte(_ctypes._Pointer)
    
Method resolution order:
LP_c_ubyte
_ctypes._Pointer
_ctypes._CData
__builtin__.object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._Pointer:
__delitem__(...)
x.__delitem__(y) <==> del x[y]
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__nonzero__(...)
x.__nonzero__() <==> x != 0
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y

Data descriptors inherited from _ctypes._Pointer:
contents
the object this pointer points to (read-write)

Data and other attributes inherited from _ctypes._Pointer:
__new__ = <built-in method __new__ of _ctypes.PointerType object at 0x7f6f50b17340>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from _ctypes._CData:
__ctypes_from_outparam__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__reduce__(...)
__setstate__(...)

 
pixel_p = class LP_c_ushort(_ctypes._Pointer)
    
Method resolution order:
LP_c_ushort
_ctypes._Pointer
_ctypes._CData
__builtin__.object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._Pointer:
__delitem__(...)
x.__delitem__(y) <==> del x[y]
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
__nonzero__(...)
x.__nonzero__() <==> x != 0
__setitem__(...)
x.__setitem__(i, y) <==> x[i]=y

Data descriptors inherited from _ctypes._Pointer:
contents
the object this pointer points to (read-write)

Data and other attributes inherited from _ctypes._Pointer:
__new__ = <built-in method __new__ of _ctypes.PointerType object at 0x7f6f50b17340>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from _ctypes._CData:
__ctypes_from_outparam__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__reduce__(...)
__setstate__(...)

 
Data
        cheat_reset = <_FuncPtr object at 0x7f6f50b371f0>
cheat_set = <_FuncPtr object at 0x7f6f50b372c0>
get_memory_data = <_FuncPtr object at 0x7f6f50b377a0>
get_memory_size = <_FuncPtr object at 0x7f6f50b37870>
library_revision = <_FuncPtr object at 0x7f6f519c46d0>
libsnes = <CDLL 'libsnes.so', handle 183fd10 at 7f6f50b236d0>
libsnes_version = 1L
load_cartridge_bsx = <_FuncPtr object at 0x7f6f50b37530>
load_cartridge_bsx_slotted = <_FuncPtr object at 0x7f6f50b37460>
load_cartridge_normal = <_FuncPtr object at 0x7f6f50b37390>
load_cartridge_sufami_turbo = <_FuncPtr object at 0x7f6f50b37600>
load_cartridge_super_game_boy = <_FuncPtr object at 0x7f6f50b376d0>
power = <_FuncPtr object at 0x7f6f519c4bb0>
reset = <_FuncPtr object at 0x7f6f519c4c80>
run = <_FuncPtr object at 0x7f6f519c4d50>
serialize = <_FuncPtr object at 0x7f6f50b37050>
serialize_size = <_FuncPtr object at 0x7f6f519c4ef0>
set_audio_sample_cb = <_FuncPtr object at 0x7f6f519c4870>
set_controller_port_device = <_FuncPtr object at 0x7f6f519c4ae0>
set_input_poll_cb = <_FuncPtr object at 0x7f6f519c4940>
set_input_state_cb = <_FuncPtr object at 0x7f6f519c4a10>
set_video_refresh_cb = <_FuncPtr object at 0x7f6f519c47a0>
unload = <_FuncPtr object at 0x7f6f519c4e20>
unserialize = <_FuncPtr object at 0x7f6f50b37120>