Sha256: b497d1b89ea163f4228af18015a76b9a5ccfe091f5167684347a20e552bd55b7
Contents?: true
Size: 468 Bytes
Versions: 12
Compression:
Stored size: 468 Bytes
Contents
require 'gir_ffi_test_helper' describe GirFFI::TypeMap do describe '.type_specification_to_ffi_type' do it 'returns the nested FFI::Enum for an Enum module' do GirFFI::TypeMap.type_specification_to_ffi_type(GLib::DateMonth). must_equal GLib::DateMonth end it 'returns the class itself for a Struct class' do GirFFI::TypeMap.type_specification_to_ffi_type(GObject::EnumValue). must_equal GObject::EnumValue end end end
Version data entries
12 entries across 12 versions & 1 rubygems