[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

External function calls?

Kyle Schmitt

2/23/2007 8:51:00 PM

Hey all,
is there a generic way to make external function from ruby?
I know I can write specific c code as a ruby module and use it, and I
know I can use that inline-c stuff, but what I want is a way to use
existing c or c++ libraries without having to write wrappers. I know
in windows I can make winole objects and play with them, but what
about on linux/bsd/osx/whatever?

Thanks,
Kyle

1 Answer

Jano Svitok

2/23/2007 9:30:00 PM

0

On 2/23/07, Kyle Schmitt <kyleaschmitt@gmail.com> wrote:
> Hey all,
> is there a generic way to make external function from ruby?
> I know I can write specific c code as a ruby module and use it, and I
> know I can use that inline-c stuff, but what I want is a way to use
> existing c or c++ libraries without having to write wrappers. I know
> in windows I can make winole objects and play with them, but what
> about on linux/bsd/osx/whatever?
>
> Thanks,
> Kyle

try DL, it seems available on my Ubuntu.