(tp)
return _ctype_for_type_map.get(tp, tp)
Look up the ctype corresponding to the given Python type.

    This conversion is applied to types used in :class:`objc_method` signatures, :class:`objc_ivar` types, etc.
    This function translates Python built-in types and :mod:`rubicon.objc` classes to their :mod:`ctypes` equivalents.
    Unregistered types (including types that are already ctypes) are returned unchanged.
Look up the ctype corresponding to the given Python type.
Look up the ctype corresponding to the given Python type .
def ctype_for_type(tp):
    """Look up the ctype corresponding to the given Python type.

    This conversion is applied to types used in :class:`objc_method` signatures, :class:`objc_ivar` types, etc.
    This function translates Python built-in types and :mod:`rubicon.objc` classes to their :mod:`ctypes` equivalents.
    Unregistered types (including types that are already ctypes) are returned unchanged.
    """

    return _ctype_for_type_map.get(tp, tp)
def ctype_for_type ( tp ) : return _ctype_for_type_map . get ( tp , tp )