The system cffi-libffi allows calling functions with structures passed and returned by value.  The cffi-libffi branch has been merged into master.  Because bare structure reference is deprecated, the merge affects a lot code using CFFI, not just those calling functions with structures by value.  Expect to see many style warnings in code that refers to bare structure names.  Please test and report successes/problems.  We hope to have a new release of CFFI soon.<br>

<br>See blog: <a href="http://lhealy.livejournal.com/2012/04/14/">http://lhealy.livejournal.com/2012/04/14/</a><br><br>Thank you.<br>Liam<br><br>