/usr/lib/ruby/vendor_ruby/ffi-gobject/base.rb is in ruby-gir-ffi 0.9.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Preload type contants
module GObject
TYPE_INVALID = type_from_name('invalid')
TYPE_NONE = type_from_name('void')
TYPE_INTERFACE = type_from_name('GInterface')
TYPE_CHAR = type_from_name('gchar')
TYPE_UCHAR = type_from_name('guchar')
TYPE_BOOLEAN = type_from_name('gboolean')
TYPE_INT = type_from_name('gint')
TYPE_UINT = type_from_name('guint')
TYPE_LONG = type_from_name('glong')
TYPE_ULONG = type_from_name('gulong')
TYPE_INT64 = type_from_name('gint64')
TYPE_UINT64 = type_from_name('guint64')
TYPE_ENUM = type_from_name('GEnum')
TYPE_FLAGS = type_from_name('GFlags')
TYPE_FLOAT = type_from_name('gfloat')
TYPE_DOUBLE = type_from_name('gdouble')
TYPE_STRING = type_from_name('gchararray')
TYPE_POINTER = type_from_name('gpointer')
TYPE_BOXED = type_from_name('GBoxed')
TYPE_PARAM = type_from_name('GParam')
TYPE_OBJECT = type_from_name('GObject')
TYPE_GTYPE = type_from_name('GType')
TYPE_VARIANT = type_from_name('GVariant')
end
|