Sha256: f307fdd5de5224b19ad01bdc5dbfb26097ade1dfb5472e4d42759d0cedad2814

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

GirFFI::Builder.setup_function "Gtk", Gtk::Lib, Gtk, "init"
module Gtk
  class << self
    alias _base_init init
    def init
      (my_len, my_args) = _base_init ARGV.length + 1, [$0, *ARGV]
      my_args.shift
      ARGV.replace my_args
    end
    private :_base_init
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.0.1 lib/gir_ffi/overrides/gtk.rb