[#4567] Re: What's the biggest Ruby development? — Aleksi Niemel<aleksi.niemela@...>

Dave said:

18 messages 2000/08/23
[#4568] Q's on Marshal — Robert Feldt <feldt@...> 2000/08/23

[#4580] RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/25

[#4584] Re: RubyUnit testcase run for different init params? — Dave Thomas <Dave@...> 2000/08/25

Robert Feldt <feldt@ce.chalmers.se> writes:

[#4623] Re: RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/28

On Sat, 26 Aug 2000, Dave Thomas wrote:

[#4652] Andy and Dave's European Tour 2000 — Dave Thomas <Dave@...>

24 messages 2000/08/30
[#4653] Re: Andy and Dave's European Tour 2000 — matz@... (Yukihiro Matsumoto) 2000/08/30

Hi,

[#4657] Ruby tutorials for newbie — Kevin Liang <kevin@...> 2000/08/30

Hi,

[ruby-talk:4540] Re: a question about extension modules

From: Jon Aseltine <aseltine@...>
Date: 2000-08-22 07:36:07 UTC
List: ruby-talk #4540
Clemens Hintze wrote:

> Reading this I assume you want to wrap a C++ library to be used as an
> extension in Ruby, isn't it?

Yes, that's it.

> If yes, you could follow Yasushi Shoji's advice to try out
> swigruby. To use this you have to install SWIG as well. It will wrap
> your library for you. But be warned: SWIG has some ugly restrictions
> that may not permit you to wrap your code (I am not sure for QT,
> however). Furthermore the code that is generated is not optimal all
> the time. But OTOH, it is easy to use and its result is often very
> useable.

Hm, I suspect that I lost some mail over the past few days -- my mail
server was down. I should check the archives. I notice that there is a
Ruby/QT created using swigruby. Old QT version though, I may try swig on
QT 2.2.

> [snip excellent mini-tutorial]

Thanks so much for your detailed response. This is exactly what I was
looking for. :) Maybe the information about SWIG/swigruby and your
mini-tutorial should go into the FAQ?

Thanks again,
Jon

-- 
_______________________________________________________________________
  Jonathan Aseltine     aseltine@cs.umass.edu     MAS, Umass, Amherst

In This Thread