From: Ian Macdonald Date: 2002-10-03T09:28:06+09:00 Subject: Re: using pack and unpack from C On Thu 03 Oct 2002 at 08:44:22 +0900, William Djaja Tjokroaminata wrote: > Hi Ian, > > Any method call that you can do in Ruby you can do in general in C with > "rb_funcall" (and several variants of it). So > > anObject.method (arg1, arg2, ...) > > can in general be translated to > > rb_funcall (anObject, rb_intern ("method"), n_args, arg1, arg2, ...) Thanks, William and Nobu, too. Ian -- Ian Macdonald | Dealing with failure is easy: Work hard to ian@caliban.org | improve. Success is also easy to handle: | You've solved the wrong problem. Work hard | to improve. |