From: Ryan Davis Date: 2011-05-17T07:28:47+09:00 Subject: Re: RubyInline trouble On May 16, 2011, at 07:53 , Martin Hansen wrote: > Hi all, > > > I am battling with RubyInline to try the following benchmark: > > http://pastie.org/1910786 > > However, it it appears that I am not allowed to define stuff or > initialize an array at the top level in C. > > How do I get this to work? builder.c is ONLY for a C function. Define static declarations and the like with builder.prefix or builder.add_static. ri Inline::C for more info.