![](https://secure.gravatar.com/avatar/b61315ad4ac9a887387d4ee835bd80c0.jpg?s=120&d=mm&r=g)
Overview ctypes is a ffi (Foreign Function Interface) package for Python. It allows to call functions exposed from dlls/shared libraries and has extensive facilities to create, access and manipulate simple and complicated C data types transparently from Python - in other words: wrap libraries in pure Python. ctypes runs on Windows, MacOS X, Linux, Solaris, the latter three require that your machine is supported by libffi. On Windows, ctypes contains (the beginning of) a COM framework mainly targetted to use and implement custom COM interfaces. Changes in version 0.6.2 Fixed a bug which prevented callback functions to return data types other than integers. They can now also return pointers, floats, and doubles. It is now possible to pass structures and unions to function calls *by value*. Currently this works only on Windows. A lot of changes to the COM package, but all this is still work in progress and unstable, and it has to be properly documented. Homepage http://starship.python.net/crew/theller/ctypes/ Downloads https://sourceforge.net/project/showfiles.php?group_id=71702 Thomas
participants (1)
-
Thomas Heller