Swig and ruby

Hi all, does anyone use swig to bind to C/C++ library? I would like to
build a binding to LIBREDWG library, but I don't know SWIG ..... need
some help :slight_smile:

路路路

--
Posted via http://www.ruby-forum.com/.

LibreDWG is C; I was thinking you might consider Rb++
<http://rbplusplus.rubyforge.org/&gt; instead of SWIG, but I'm not sure
how it would fare with plain C. I haven't used it or SWIG.

路路路

On Sat, Jan 22, 2011 at 6:06 AM, Alessandro Barracco <bomastudio@gmail.com> wrote:

Hi all, does anyone use swig to bind to C/C++ library? I would like to
build a binding to LIBREDWG library, but I don't know SWIG ..... need
some help :slight_smile:

The wxRuby project uses SWIG to bind to the C++ library wxWidegets:
http://wxruby.rubyforge.org . It seems you're using ruby-forum.com, so
have a look at their forum: wxRuby - Ruby-Forum

Vale,
Marvin

路路路

Am 22.01.2011 13:06, schrieb Alessandro Barracco:

Hi all, does anyone use swig to bind to C/C++ library? I would like to
build a binding to LIBREDWG library, but I don't know SWIG ..... need
some help :slight_smile:

Eric Christopherson wrote in post #976812:

LibreDWG is C; I was thinking you might consider Rb++
<http://rbplusplus.rubyforge.org/&gt; instead of SWIG, but I'm not sure
how it would fare with plain C. I haven't used it or SWIG.

yes, rb++ seems to work with C++, confusion!!

路路路

--
Posted via http://www.ruby-forum.com/\.

Marvin G眉lker wrote in post #976818:

The wxRuby project uses SWIG to bind to the C++ library wxWidegets:
http://wxruby.rubyforge.org . It seems you're using ruby-forum.com, so
have a look at their forum: wxRuby - Ruby-Forum

good idea, I'm going to the group. Let me see....

路路路

--
Posted via http://www.ruby-forum.com/\.