Value for VALUE in C for ruby gems

Hello,

I was looking over some ruby gems and the documentation for creating
these things. I was curious what the actual type of VALUE is?

Regards,

Carter.

On Fri, Sep 2, 2011 at 3:53 AM, Carter C. [email protected]
wrote:

I was looking over some ruby gems and the documentation for creating
these things. I was curious what the actual type of VALUE is?

There a several possible actual types, depending on the platform that
ruby
is compiled on. Basically, a type that can hold a pointer or a long
value.
For the details take a look at ruby/ruby.h and search for
HAVE_UINTPTR_T.

Regards,
Ammar

Thanks both.

I was looking over some ruby gems and the documentation for creating
these things. I was curious what the actual type of VALUE is?

There’s some documentation at the README.EXT file which comes with the
Ruby source:

http://rubydoc.info/stdlib/core/1.9.2/file/README.EXT

Best,
dubek