Peter Seibel <[EMAIL PROTECTED]> writes:

> Is there any chance of hacking Swig to 
> generate proper Lispy names?

It goes half way, generating lispy versions of function names, see http://
www.swig.org/Doc1.3/Lisp.html

But I don't think SWIG generates the lispy equivalents for enums or struct 
members. One of the SWIG CFFI hackers is on this list. Perhaps he can chime in 
on this. 

> So if the underlying .h changed you'd have to re-run swig and then 
> re-edit the generated file? 

At first I was hesitant to make the change due to this. But the external 
libraries we use are quite mature and so API's remain relatively static across 
revisions. It only takes me a minute or two to check the diffs of the .h files 
for every new SDL release and manually make the appropriate updates to 
lispbuilder-sdl.

The pain will be having to update lispbuilder-sdl to the as yet unreleased SDL 
v1.3. 

OpenRM and Cal3D still use the SWIG generated bindings.

- Luke

_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to