Sha256: e1389f7f82a6f594051697f57de2d766607a9521b0e36de54edf4b471a840442
Contents?: true
Size: 1.92 KB
Versions: 5
Compression:
Stored size: 1.92 KB
Contents
# frozen_string_literal: true require 'gir_ffi/core' # Bypass check for existing modules GirFFI::Builders::ModuleBuilder.new('GLib').generate require 'ffi-glib/array' require 'ffi-glib/byte_array' require 'ffi-glib/bytes' require 'ffi-glib/destroy_notify' require 'ffi-glib/error' require 'ffi-glib/hash_table' require 'ffi-glib/iconv' require 'ffi-glib/list' require 'ffi-glib/main_loop' require 'ffi-glib/ptr_array' require 'ffi-glib/s_list' require 'ffi-glib/strv' require 'ffi-glib/variant' # Module representing GLib's GLib namespace. module GLib load_class :HFunc load_class :HashFunc load_class :EqualFunc load_class :Func # Module for attaching functions from the glib library. # NOTE: This module is defined by the call to GirFFI.setup above. module Lib attach_function :g_slist_prepend, [:pointer, :pointer], :pointer attach_function :g_list_append, [:pointer, :pointer], :pointer attach_function :g_hash_table_foreach, [:pointer, HFunc, :pointer], :void attach_function :g_hash_table_new, [HashFunc, EqualFunc], :pointer attach_function :g_hash_table_insert, [:pointer, :pointer, :pointer], :void attach_function :g_byte_array_new, [], :pointer attach_function :g_byte_array_append, [:pointer, :pointer, :uint], :pointer attach_function :g_bytes_get_data, [:pointer, :pointer], :pointer attach_function :g_bytes_new, [:pointer, :size_t], :pointer attach_function :g_array_new, [:int, :int, :uint], :pointer attach_function :g_array_append_vals, [:pointer, :pointer, :uint], :pointer attach_function :g_array_get_element_size, [:pointer], :uint attach_function :g_ptr_array_new, [], :pointer attach_function :g_ptr_array_add, [:pointer, :pointer], :void attach_function :g_ptr_array_foreach, [:pointer, Func, :pointer], :pointer attach_function :g_iconv_open, [:pointer, :pointer], :pointer attach_function :g_variant_ref_sink, [:pointer], :pointer end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.10.2 | lib/ffi-glib.rb |
gir_ffi-0.10.1 | lib/ffi-glib.rb |
gir_ffi-0.10.0 | lib/ffi-glib.rb |
gir_ffi-0.10.0.pre1 | lib/ffi-glib.rb |
gir_ffi-0.9.5 | lib/ffi-glib.rb |