mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[ruby/fiddle] Remove garbage
https://github.com/ruby/fiddle/commit/bbcb66e16e
This commit is contained in:
parent
c19ea1066a
commit
9c2e0d49fe
@ -200,7 +200,6 @@ rb_fiddle_int_to_ffi_type(int type)
|
||||
return rb_ffi_type_of(char);
|
||||
} else if (sizeof(bool) == sizeof(short)) {
|
||||
return rb_ffi_type_of(short);
|
||||
return INT2NUM(TYPE_USHORT);
|
||||
} else if (sizeof(bool) == sizeof(int)) {
|
||||
return rb_ffi_type_of(int);
|
||||
} else if (sizeof(bool) == sizeof(long)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user