Paolo,
I see this as a learning opportunity: I'll have a go at
converting the swig clisp module (clisp.cxx etc) to a gst
module to get a feel for the level of difficulty (c++ is
foreign to me,) and see how I do. If it turns out not to be
beyond me, then I'll have a go a more complete wrapper
module based on pythons or whatever seems most appropriate
(that is unless someone else is already working this.)
Kind regards,
Brad Watson
----- Original Message ----
From: Paolo Bonzini <paolo.bonzini lu.unisi.ch>
To: Brad Watson <whitebearded1 yahoo.com>
Cc: help-smalltalk gnu.org
Sent: Monday, November 27, 2006 7:03:35 AM
Subject: Re: using swig to generate bindings: was Re: Re:
freeglut and opengl bindings
Brad Watson wrote:
> Here's a thought: leverage the excellent work already
done for the swig clisp bindings:
The idea overall is good. The problem is that CLISP's C
binding is way
more powerful. In particular, GNU Smalltalk has no support
for enums
and variables.
Also, more work (or a wrapper layer, that SWIG is very good
at emitting)
would be necessary to support things such as passing
structures by value.
Paolo
____________________________________________________________
________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|