[ctypes-commit] ctypes ChangeLog,1.118,1.118.2.1
Brought to you by:
theller
From: Thomas H. <th...@us...> - 2006-04-13 18:31:35
|
Update of /cvsroot/ctypes/ctypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21189 Modified Files: Tag: LoadLibrary_branch ChangeLog Log Message: *** empty log message *** Index: ChangeLog =================================================================== RCS file: /cvsroot/ctypes/ctypes/ChangeLog,v retrieving revision 1.118 retrieving revision 1.118.2.1 diff -C2 -d -r1.118 -r1.118.2.1 *** ChangeLog 6 Apr 2006 11:38:59 -0000 1.118 --- ChangeLog 13 Apr 2006 18:31:31 -0000 1.118.2.1 *************** *** 1,2 **** --- 1,22 ---- + 2006-04-13 Thomas Heller <th...@py...> + + * Restore the old behaviour again: + cdll/windll have LoadLibrary method, and no other public attributes. + CDLL/WinDLL accept library pathname in the constructor, that's the + only public attribute: all the find(), load(), and load_library() + methods are gone. + + The ctypes._loader module has been removed completely. + + ctypes.util has been revived, it implements a find_library() + function which should be useful to find libraries from the linker + name (on platforms where this makes sense): + + find_library("c") -> "/usr/lib/libc.so.6" (Linux) + find_library("c") -> "/usr/lib/libc.dylib" (OS X) + find_library("msvcr71") -> "c:\windows\system32\msvcr71.dll" (Windows) + + If the library is not found, None is returned. + 2006-04-06 Thomas Heller <th...@py...> |