[cffi-devel] void arg type

Stephen Compall s11 at member.fsf.org
Thu Jan 12 21:15:00 UTC 2006


On Thu, 2006-01-12 at 15:09 -0600, Brad Anderson wrote:
> Hi all,
> 
> I'm having issues with using :void as a type in certain places.  I'm
> trying to wrap the following in CFFI:
> 
> struct _xmlAttribute {
>     void           *_private;           /* application data */
>         (_private :void)

_private is a void*, not a void.  Use :pointer.

-- 
Stephen Compall
http://scompall.nocandysw.com/blog




More information about the cffi-devel mailing list