Surendra, 

I just downloaded and compiled the latest SWIG from CVS and I have a 
question regarding the new functionality that you added this month. 

* -generate-typedef ; this seems to work 

* -extern-all ; This does not seem to work. No symbols are exported. 

* -lispify? What -cffi option do I use to test this? 


SWIG requests:
I'm not sure if you added any of these, but it would be great if you could: 

1) Instead of substituting :pointer for enums, replace with the enum name, 
or :int for anonymous enums, for example:
>>>
enum Boolean { true = 0, false = 1 };
Boolean returnBoolean(int value); 

Should generate:
(defcfun ("returnBoolean" returnBoolean) boolean
 (value :int))
<<< 

2) For enums, SWIG should treat 'enum Boolean' as Boolean. For example:
>>>
enum Boolean returnBoolean(int value); 

Should generate:
(defcfun ("returnBoolean" returnBoolean) boolean
 (value :int))
<<<< 

Thanks,
 -Luke
_______________________________________________
application-builder mailing list
[EMAIL PROTECTED]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to