[cffi-devel] Re: generate mapping from windows.h with the cffi module of swig

Surendra Singhi efuzzyone at netscape.net
Tue Jan 3 17:56:57 UTC 2006


Hello,
  Happy New Year.

"Frank Buss" <fb at frank-buss.de> writes:

> Surendra Singhi wrote:
>
>> You can also try SWIG (cvs version) it fully supports C.
>
> thanks, I've tried it and now it generates a mapping for e.g. TCL (which is
> 16 mb), but when specifying -cffi, it reports some messages (see below) and
> generates only a 6000 line lisp file for CFFI, with all mappings until
> GENERIC_MAPPING, but all other missing. Deleting this stops at the next
> structure. Looks like the CFFI support is missing some features.
>
> I've used the cygwin header files and patched it a bit to fix some errors,
> you can download the package at http://www.frank-buss.de/tmp/cffi.zip 
> I'll post this to the cffi-devel mailing list, too, perhaps someone can take
> a look at it and fix the cffi swig module.
>
Thanks Frank, I will take a look at this and incorporate it into SWIG.
Also, please include the SWIG-devel mailing list.

Cheers.
-- 
Surendra Singhi
http://www.public.asu.edu/~sksinghi/index.html

The best-laid plans of mice and men go oft astray.




More information about the cffi-devel mailing list