(dll, name)
return ObjCInstance(objc_id.in_dll(dll, name))
Create an :class:`ObjCInstance` from a global pointer variable in a :class:`~ctypes.CDLL`.

    This function is most commonly used to access constant object pointers defined by a library/framework, such as
    `NSCocoaErrorDomain <https://developer.apple.com/documentation/foundation/nscocoaerrordomain?language=objc>`__.
Create an :class:`ObjCInstance` from a global pointer variable in a :class:`~ctypes.CDLL`.
Create an : class : ObjCInstance from a global pointer variable in a : class : ~ctypes . CDLL .
def objc_const(dll, name):
    """Create an :class:`ObjCInstance` from a global pointer variable in a :class:`~ctypes.CDLL`.

    This function is most commonly used to access constant object pointers defined by a library/framework, such as
    `NSCocoaErrorDomain <https://developer.apple.com/documentation/foundation/nscocoaerrordomain?language=objc>`__.
    """

    return ObjCInstance(objc_id.in_dll(dll, name))
def objc_const ( dll , name ) : return ObjCInstance ( objc_id . in_dll ( dll , name ) )