Sha256: cb36844d45bea04c4425e43ce106db699001e1122c5cfd45e5d6c4274c44fa28
Contents?: true
Size: 499 Bytes
Versions: 9
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true 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
9 entries across 9 versions & 1 rubygems