| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#11
| |||
| |||
| On Thu, Aug 28, 2008 at 06:45:18AM +0900, Jos Backus wrote: > http://github.com/jamis/sqlite3-ruby...690e5987744cd2 > says it fixes linking against Ruby 1.8.5 but the sqlite3_api_wrap.c generated > by swig (from extconf.rb) defines the necessary RSTRING_* macros too late in > the generated code. Moving the defines up in the generated file works around > the problem, but I'm not sure what the right fix is as the defines already sit > at the top of the sqlite3_api.i file. Not sure how I came up with this but it's incorrect. Regenerating the sqlite3_api_wrap.c file (as extconf.rb does, using `swig -ruby sqlite3_api.i') fixes the issue. 1.2.4 has the regenerated sqlite3_api_wrap.c. Thanks again Jamis. -- Jos Backus jos at catnook.com |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.