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 ???

On 8/9/06, Ritesh T. [email protected] 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/.

README.EXT in the Ruby source.

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