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

Module zzub.library

library provides a dynamic library loader that works location independent across all ctypes versions.
Function Summary
ctypes CDLL handle load(*names, **kw)
searches for a library with given names and returns a ctypes .so/.dll library object if successful.

Function Details

load(*names, **kw)

searches for a library with given names and returns a ctypes .so/.dll library object if successful. if the library can not be loaded, an assertion error will be thrown.
Parameters:
names - one or more aliases for required libraries, e.g. 'SDL','SDL-1.2'.
           (type=list of strings)
Returns:
ctypes CDLL handle

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