Tutorial on writing extensions for C++

I am trying to find a tutorial for writing extensions for C++ libraries.
I have my existing libraries which are C++ and want to use them in Ruby.
I know SWIG generates an wrapper but am looking for other options.

Any help ???

···

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

README.EXT in the Ruby source.

···

On 8/9/06, Ritesh Tijoriwala <riteshtijoriwala@yahoo.com> wrote:

I am trying to find a tutorial for writing extensions for C++ libraries.
I have my existing libraries which are C++ and want to use them in Ruby.
I know SWIG generates an wrapper but am looking for other options.

Any help ???

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

I really didn't understand how to extend Ruby until I read this blog post:

http://rune.hammersland.net/kode/ruby.h.html

This post allowed me to better understand what is in the README.EXT.

Hope it helps....

Horacio

···

On 8/10/06, Ritesh Tijoriwala <riteshtijoriwala@yahoo.com> wrote:

I am trying to find a tutorial for writing extensions for C++ libraries.
I have my existing libraries which are C++ and want to use them in Ruby.
I know SWIG generates an wrapper but am looking for other options.

Any help ???

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