[cffi-devel] void arg type

Brad Anderson brad at sankaty.com
Thu Jan 12 21:30:36 UTC 2006


Stephen Compall wrote:
> 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.
> 

okay, I'll change it.  So the * all the way over to the right was the issue.  I've copied Surendra, who did the
cffi swig stuff.

Thanks,
Brad



More information about the cffi-devel mailing list