def _loadMacDylib():
    try:
        l = ctypes.CDLL("liblabjackusb.dylib", use_errno=True)
    except __HOLE__:
        l = ctypes.CDLL("liblabjackusb.dylib")
    l.LJUSB_Stream.errcheck = errcheck
    l.LJUSB_Read.errcheck = errcheck
    return l
dataset/ETHPy150Open LabPy/lantz/lantz/drivers/labjack/_internal/u12.py/_loadMacDylib