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:

On Sat, Jan 22, 2011 at 6:06 AM, Alessandro B.
[email protected] 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:

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

Am 22.01.2011 13:06, schrieb Alessandro B.:

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: http://www.ruby-forum.com/forum/wxruby

Vale,
Marvin

Eric C. wrote in post #976812:

LibreDWG is C; I was thinking you might consider Rb++
http://rbplusplus.rubyforge.org/ 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!!

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: http://www.ruby-forum.com/forum/wxruby

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs