Searched refs:cdll (Results 1 – 9 of 9) sorted by relevance
336 from ctypes import cdll338 print(cdll.msvcrt)339 print(cdll.load("msvcrt"))350 print(cdll.LoadLibrary("libm.dylib"))351 print(cdll.LoadLibrary("libcrypto.dylib"))352 print(cdll.LoadLibrary("libSystem.dylib"))353 print(cdll.LoadLibrary("System.framework/System"))362 print(cdll.LoadLibrary("librpm.so"))371 print(cdll.LoadLibrary("libm.so"))372 print(cdll.LoadLibrary("libcrypt.so"))
456 cdll = LibraryLoader(CDLL) variable
42 cdll.LoadLibrary("libc.so.6")44 self.assertRaises(OSError, cdll.LoadLibrary, "libc.so.9")45 self.assertRaises(OSError, cdll.LoadLibrary, self.unknowndll)51 cdll.LoadLibrary(lib)
7 libpulse = cdll.LoadLibrary("../.libs/libpulse.so")10 libpulse = cdll.LoadLibrary(".libs/libpulse.so")12 libpulse = cdll.LoadLibrary("libpulse.so")
35 :mod:`ctypes` exports the *cdll*, and on Windows *windll* and *oledll*38 You load libraries by accessing them as attributes of these objects. *cdll*58 >>> print(cdll.msvcrt) # doctest: +WINDOWS60 >>> libc = cdll.msvcrt # doctest: +WINDOWS66 Accessing the standard C library through ``cdll.msvcrt`` will use an76 >>> cdll.LoadLibrary("libc.so.6") # doctest: +LINUX127 >>> getattr(cdll.msvcrt, "??2@YAPAXI@Z") # doctest: +WINDOWS134 >>> cdll.kernel32[1] # doctest: +WINDOWS136 >>> cdll.kernel32[0] # doctest: +WINDOWS167 >>> cdll.kernel32.GetModuleHandleA(None) # doctest: +WINDOWS[all …]
242 from ctypes import cdll, c_int, pointer, Structure245 app_services = cdll.LoadLibrary(find_library("ApplicationServices"))
1847 Adds note to ctypes documentation regarding cdll.msvcrt.
3459 Adds note to ctypes documentation regarding cdll.msvcrt.
625 cdll = LibraryLoader(CDLL)10856 + from ctypes import cdll10857 + self.assertTrue(cdll.msvcrt)