[cffi-devel] Passing address of pointer
    Luís Oliveira 
    luismbo at gmail.com
       
    Wed Sep  7 19:24:57 UTC 2011
    
    
  
On Wed, Sep 7, 2011 at 8:09 PM, Frank Goenninger <frgo at me.com> wrote:
> He is. ;-) But: I need both, CFFI and FSBV. So, how to do that ?
Load FSBV and use it for the definitions where you need to pass
structures by value. I.e., use FSBV:DEFCSTRUCT and FSBV:DEFCFUN where
necessary. (You probably don't wan't to use it for all of your
definitions since it changes the default semantics of structure types
from pass-by-reference to pass-by-value.)
-- 
Luís Oliveira
http://r42.eu/~luis/
    
    
More information about the cffi-devel
mailing list