def _loadMacDylib():
 try:
  l = ctypes.CDLL('liblabjackusb.dylib', use_errno=True)
 except TypeError:
  l = ctypes.CDLL('liblabjackusb.dylib')
 l.LJUSB_Stream.errcheck = errcheck
 l.LJUSB_Read.errcheck = errcheck
 return l

def _loadMacDylib ( ) : try : l = ctypes . CDLL ( 'liblabjackusb.dylib' , use_errno = True ) except TypeError : l = ctypes . CDLL ( 'liblabjackusb.dylib' ) l . LJUSB_Stream . errcheck = errcheck l . LJUSB_Read . errcheck = errcheck return l
attempts to load the liblabjackusb .