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