FFI - struct passed by value
Posted: Tue Jan 28, 2014 10:46 pm
I'd like to use this nice little GUI library: http://enchantia.com/software/graphapp/
The widget set is not as full featured as other libraries but it's good enough for simple user interfaces. Plus it fits in a single 700K DLL and is portable.
The problem is that it passes and returns one of its major structures (Rect) as value: http://enchantia.com/software/graphapp/ ... l/rect.htm
Is there, by any chance, some trick to make it work with NewLisp's FFI without writing wrappers?
The widget set is not as full featured as other libraries but it's good enough for simple user interfaces. Plus it fits in a single 700K DLL and is portable.
The problem is that it passes and returns one of its major structures (Rect) as value: http://enchantia.com/software/graphapp/ ... l/rect.htm
Is there, by any chance, some trick to make it work with NewLisp's FFI without writing wrappers?