Back to index

python3.2  3.2.2
Classes | Functions
ctypes.test.test_macholib Namespace Reference

Classes

class  MachOTest

Functions

def find_lib

Function Documentation

Definition at line 38 of file test_macholib.py.

00038 
00039 def find_lib(name):
00040     possible = ['lib'+name+'.dylib', name+'.dylib', name+'.framework/'+name]
00041     for dylib in possible:
00042         try:
00043             return os.path.realpath(dyld_find(dylib))
00044         except ValueError:
00045             pass
00046     raise ValueError("%s not found" % (name,))

Here is the call graph for this function:

Here is the caller graph for this function: