lib/fiddle/import.rb in fiddle-1.1.1 vs lib/fiddle/import.rb in fiddle-1.1.2
- old
+ new
@@ -117,9 +117,11 @@
return SIZEOF_DOUBLE
when TYPE_VOIDP
return SIZEOF_VOIDP
when TYPE_CONST_STRING
return SIZEOF_CONST_STRING
+ when TYPE_BOOL
+ return SIZEOF_BOOL
else
if defined?(TYPE_LONG_LONG) and
ty == TYPE_LONG_LONG
return SIZEOF_LONG_LONG
else