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.

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

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

···

On Fri, Sep 2, 2011 at 3:53 AM, Carter Cheng <cartercheng@gmail.com> 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?

Thanks both.

···

On Fri, Sep 2, 2011 at 4:48 AM, Ammar Ali <ammarabuali@gmail.com> wrote:

On Fri, Sep 2, 2011 at 3:53 AM, Carter Cheng <cartercheng@gmail.com> 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