rb_cObject vs. rb_cData

OK, what's the deal with rb_cData? When do I use it?
  nikolai

···

--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}

Hi,

···

In message "Re: rb_cObject vs. rb_cData" on Fri, 4 Mar 2005 06:23:55 +0900, Nikolai Weibull <mailing-lists.ruby-talk@rawuncut.elitemail.org> writes:

OK, what's the deal with rb_cData? When do I use it?

When you want to wrap C pointer into Ruby object in a C extension for
Ruby, and have no need to define any data specific behavior. To tell
the truth, it's not much useful.

              matz.