[geos-devel] Ruby, FFI and ERROR_/NOTICE_MESSAGE

Charlie Savage cfis at savagexi.com
Thu Dec 9 00:09:06 EST 2010


> I believe that the crux of the problem may be due to GEOS's error
> handlers using varargs, which libffi cannot handle in callbacks
> according to its documentation.

Just did a quick read of https://github.com/ffi/ffi/wiki/examples and 
the google group. Seems like in general FFI does support varargs.  Are 
callbacks a special case that isn't handled?  How hard do you suppose to 
get them to work?

Charlie


More information about the geos-devel mailing list