Calling routines in Windows DLLs from Python scripts running under Linux, MacOS or BSD.
zugbruecke is a drop-in replacement for ctypes with minimal, ctypes-compatible syntax extensions. This manual describes what makes zugbruecke special and how it differs from ctypes. It does NOT substitute the ctypes documentation. Please read the latter first if you have never called foreign functions with ctypes from Python scripts.
- The session model
- Handling pointers
- The memory synchronization protocol
- A simple example: An array of floating point numbers of variable length
- A more complex example: Computing the size of the memory from multiple arguments
- Using string buffers, null-terminated strings and Unicode
- Applying memory synchronization to callback functions (function pointers)
memsync(list of dict)
- Platform interoperability
- Wine Python environment