Eric Hodel <drbrain / segment7.net> wrote: > module Stuff > FOO = struct [ > "int bar", > "int baz" > ] > > extern "FOO make_a_foo(void)" > > def my_make_a_foo > return FOO.new(make_a_foo) > end > > end Interesting, but that didn't work for me: /usr/local/lib/ruby/1.8/dl/import.rb:125:in `symbol': can't find the symbol `make_a_foo' (RuntimeError) -- Luc Heinrich - lucsky / mac.com