Hi,
In message "[ruby-talk:02224] A few questions"
on 00/03/28, Andrew Hunt <Andy / Toolshed.Com> writes:
|1. How is ext/Setup supposed to work? Is that *only* for statically
|linking in extension modules? Does an extension module have to be in
|this file to be built (it would appear not)?
Yes, it's for statically linked extensions.
|2. What's the difference between funcall2 and funcall3?
funcall3() does not invoke private methods.
|3. Is Struct still used, or is it deprecated? If it's still used, how is
|it different from Data (Data_Wrap_Struct, etc.)
It's still used. Struct class is for bundling Ruby data. Data is a
wrapper for "C" struct.
matz.