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.
···
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