Dear younger friends, middle-age friends and elder friends,
I am trying to use ruby in c and I've found online that I need to convert type VALUE to c types. The webpage said I need to use something likes FIX2INT in ruby/ruby.h, but I can't find this function (or Macro maybe) in ruby/ruby.h for ruby3.
Where can I get the function? Or maybe I need to use another function for ruby3?
I am trying to use ruby in c and I've found online that I need to
convert type VALUE to c types. The webpage said I need to use something
likes FIX2INT in ruby/ruby.h, but I can't find this function (or Macro
maybe) in ruby/ruby.h for ruby3.
Where can I get the function? Or maybe I need to use another function
for ruby3?