>From andy Tue Mar 28 21:30:04 2000 >Date: Wed, 29 Mar 2000 07:51:27 +0900 >From: matz / netlab.co.jp (Yukihiro Matsumoto) >Reply-To: ruby-talk / netlab.co.jp >Subject: [ruby-talk:02225] Re: A few questions >To: ruby-talk / netlab.co.jp (ruby-talk ML) >In-Reply-To: Andrew Hunt's message of "Tue, 28 Mar 2000 16:50:44 -0500" <200003282150.QAA03875 / toolshed.com> >References: <200003282150.QAA03875 / toolshed.com> >X-ML-Name: ruby-talk >X-Mail-Count: 02225 >X-MLServer: fml [fml 2.2]; post only (only members can post) >X-ML-Info: If you have a question, send a mail with the body > "# help" (without quotes) to the address ruby-talk-ctl / netlab.co.jp; > help=<mailto:ruby-talk-ctl / netlab.co.jp?body=help> >X-Mailer: cmail 2.60+20000216 on GNU Emacs 20.5.2 / Mule 4.1 (AOI) >User-Agent: SEMI/1.12.1 ([JR] Nonoichi) FLIM/1.12.7 (=?ISO-8859-4?Q?Y=FEza?= > =?ISO-8859-4?Q?ki?=) Emacs/20.5 (i386-debian-linux-gnu) MULE/4.1 (AOI) >Mime-Version: 1.0 (generated by SEMI 1.12.1 - "[JR] Nonoichi") >Content-Type: text/plain; charset=US-ASCII >Precedence: bulk >Lines: 22 >X-Loop-Detect: 1 >X-UIDL: 1d9a731c521ddf24e2ae941bf91b5bdb.01 >Status: R > >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. >