From: lucsky@... (Luc Heinrich) Date: 2005-03-24T05:49:51+09:00 Subject: Re: Stack, Struct and DL Eric Hodel 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