tokenField_readFromPasteboard_ property

ObjCProtocolMethod<NSArray? Function(NSTokenField, NSPasteboard)> tokenField_readFromPasteboard_
final

tokenField:readFromPasteboard:

Implementation

static final tokenField_readFromPasteboard_ =
    objc.ObjCProtocolMethod<
      objc.NSArray? Function(NSTokenField, NSPasteboard)
    >(
      _protocol_NSTokenFieldDelegate,
      _sel_tokenField_readFromPasteboard_,
      ffi.Native.addressOf<
            ffi.NativeFunction<
              ffi.Pointer<objc.ObjCObject> Function(
                ffi.Pointer<objc.ObjCObject>,
                ffi.Pointer<ffi.Void>,
                ffi.Pointer<objc.ObjCObject>,
                NSPasteboardType,
              )
            >
          >(_NativeBindingBindings_protocolTrampoline_zi5eed)
          .cast(),
      objc.getProtocolMethodSignature(
        _protocol_NSTokenFieldDelegate,
        _sel_tokenField_readFromPasteboard_,
        isRequired: false,
        isInstanceMethod: true,
      ),
      (objc.NSArray? Function(NSTokenField, NSPasteboard) func) =>
          ObjCBlock_NSArray_ffiVoid_NSTokenField_NSPasteboard.fromFunction(
            (ffi.Pointer<ffi.Void> _, NSTokenField arg1, NSPasteboard arg2) =>
                func(arg1, arg2),
          ),
    );