Re: [MacRuby-devel] Using an SQLite wrapper with macruby

2011-01-05 Thread Matt Aimonetti
I also documented the process there: http://ofps.oreilly.com/titles/9781449380373/ch03.html#_using_objective_c_or_c_code - Matt Sent from my iPhone On Jan 5, 2011, at 21:31, Laurent Sansonetti wrote: > Hi Ruben, > > MacRuby cannot call vararg functions without proper BridgeSupport metadata,

Re: [MacRuby-devel] Using an SQLite wrapper with macruby

2011-01-05 Thread Laurent Sansonetti
Hi Ruben, MacRuby cannot call vararg functions without proper BridgeSupport metadata, because there is no way it can determine at runtime if a function is variadic or not (because the call site must be compiled differently). You may need to generate a BridgeSupport file for the wrapper you use.

[MacRuby-devel] Using an SQLite wrapper with macruby

2011-01-05 Thread Ruben Fonseca
Hi all. I'm trying to build a MacRuby 0.8 app with XCode. I want to interact with an exisitng Sqlite3 database. Since I don't want to package or mess with any Rubygem, I decided to look into existing Objective-C Sqlite wrappers. I've tried PLDatabase and fmdb, and failed with both. The code compi