ctypes 0.6.2 released

Thomas Heller theller@python.net
Thu, 26 Jun 2003 20:27:05 +0200


    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

    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.