def native(flags)
      native = Native::KEvent.new
      native[:ident] = @ident
      native[:filter] = Native::Flags.to_flag("EVFILT", @filter)
      native[:flags] = Native::Flags.to_mask("EV", @flags | flags)
      native[:fflags] = Native::Flags.to_mask("NOTE_#{@filter.to_s.upcase}", @fflags)
      native[:data] = @data if @data
      native
    end
def native(flags)
      native = Native::KEvent.new
      native[:ident] = @ident
      native[:filter] = Native::Flags.to_flag("EVFILT", @filter)
      native[:flags] = Native::Flags.to_mask("EV", @flags | flags)
      native[:fflags] = Native::Flags.to_mask("NOTE_#{@filter.to_s.upcase}", @fflags)
      native[:data] = @data if @data
      native
    end
Returns a C struct corresponding to this watcher.

 @param flags [Array<Symbol>] Flags for the C struct's `flags` field,
   in addition to the `@flags` var.
 @return [Native::KEvent]