Subject: Re: [ruby-ffi] c++ examples |
From: Wayne Meissner |
Date: 12/1/09 5:17 PM |
To: ruby-ffi@googlegroups.com |
2009/12/2 rogerdpack <rogerdpack@gmail.com>:
Are there any c++ examples anywhere? My end goal is to be able to use Boost's hashes/regexes.
Luis summed it up pretty well. There is no support for C++ in FFI. You can either use something else like swig or rice, or write a shim C library that accesses the C++ code you want to use in FFI.