From: Carter Cheng Date: 2011-09-03T19:20:51+09:00 Subject: Re: value for VALUE in C for ruby gems Thanks both. On Fri, Sep 2, 2011 at 4:48 AM, Ammar Ali wrote: > On Fri, Sep 2, 2011 at 3:53 AM, Carter Cheng 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 >