ULONG2NUM

Function ULONG2NUM 

Source
pub fn ULONG2NUM(val: c_ulong) -> VALUE
Expand description

Convert unsigned long to Ruby Integer (akin to ULONG2NUM).

Creates a Ruby Integer (Fixnum or Bignum) from a C unsigned long. Uses Fixnum if possible, otherwise allocates a Bignum.