Package aldrin :: Module procwrap
[show private | hide private]
[frames | no frames]

Module aldrin.procwrap

Provides an ld-like interface for retrieving functions from C libraries.

This is used in conjunction with the ./tools scripts, which generate the libzzub and zzubplugin bindings.
Function Summary
  dlopen(name)
Opens a library by name and returns a handle object.
  dlsym(lib, name, restype, *args)
Retrieves a symbol from a library loaded by dlopen and assigns correct result and argument types.

Function Details

dlopen(name)

Opens a library by name and returns a handle object. See {library.load} for more information.

dlsym(lib, name, restype, *args)

Retrieves a symbol from a library loaded by dlopen and assigns correct result and argument types.
Parameters:
lib - Library object.
           (type=ctypes.CDLL)
name - Name of symbol.
           (type=str)
restype - Type of function return value.
args - Types of function arguments.

Generated by Epydoc 2.1 on Fri Nov 24 13:58:34 2006 http://epydoc.sf.net