From: Luigi Ballabio Date: 2002-04-05T17:48:31+09:00 Subject: Re: Help: Ruby<->C++ callbacks At 05:33 PM 4/5/02 +0900, Tobias Peters wrote: >It might be convenient for you to introduce this class, because you >want to use swig to do the wrapping, but the resulting ruby programming >interface would be ugly. Your method that expects a Callback should also >accept a block instead. You can easily add this feature in native ruby >after you created your wrapper with swig: Nice. I'll add this. > > I'm not writing a C++ extension from scratch: I'm writing bindings for an > > existing C++ library. > >which library? http://www.quantlib.org/ Thanks, Luigi