autorelease property

ObjCProtocolMethod<ObjCObject Function()> autorelease
final

autorelease

Implementation

static final autorelease =
    objc.ObjCProtocolMethod<objc.ObjCObject Function()>(
      _protocol_NSObject,
      _sel_autorelease,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObjectImpl> Function(
                ffi.Pointer<objc.ObjCObjectImpl>,
                ffi.Pointer<ffi.Void>,
              )
            >
          >(_1wx624s_protocolTrampoline_1mbt9g9)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSObject,
        _sel_autorelease,
        isRequired: true,
        isInstanceMethod: true,
      ),
      (objc.ObjCObject Function() func) =>
          ObjCBlock_objcObjCObjectImpl_ffiVoid.fromFunction(
            (ffi.Pointer<ffi.Void> _) => func(),
          ),
    );