RubyInline 3.2.1 reviewDownload
Ruby Inline is an analog to Perl's Inline::C
Ruby Inline is an analog to Perl's Inline::C. Out of the box, it allows you to embed C/++ external module code in your ruby script directly. By writing simple builder classes, you can teach how to cope with new languages (fortran, perl, whatever).
Here are some key features of "RubyInline":
Quick and easy inlining of your C or C++ code embedded in your ruby script.
Extendable to work with other languages.
Automatic conversion between ruby and C basic types
char, unsigned, unsigned int, char *, int, long, unsigned long
inline_c_raw exists for when the automatic conversion isn't sufficient.
Only recompiles if the inlined code has changed.
Pretends to be secure.
Only uses standard ruby libraries, nothing extra to download.
Ruby - 1.6.7 & 1.8.2 has been used on FreeBSD 4.6+ and MacOSX.
POSIX compliant system (ie pretty much any UNIX, or Cygwin on MS platforms).
A C/C++ compiler (the same one that compiled your ruby interpreter).
test::unit for running tests ( http://testunit.talbott.ws/ ).
rubygems if you'd like.
make test (optional)
RubyInline 3.2.1 keywords