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

Module zzub.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 bindings.
Function Summary
  dlopen(*args, **kwds)
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.
  strip_ctype(obj)
Stub.

Function Details

dlopen(*args, **kwds)

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.

strip_ctype(obj)

Stub.

Generated by Epydoc 2.1 on Tue Feb 27 23:31:30 2007 http://epydoc.sf.net