List Info

Thread: freeglut and opengl bindings




freeglut and opengl bindings
user name
2006-11-20 00:43:51
Paolo,

Do you have plans to add gst to swig ?

Regards,

Brad Watson

----- Original Message ----
From: Paolo Bonzini <paolo.bonzinilu.unisi.ch>
To: Brad Watson <whitebearded1yahoo.com>
Cc: help-smalltalkgnu.org
Sent: Sunday, November 19, 2006 7:46:27 AM
Subject: Re: freeglut and opengl bindings

Brad Watson wrote:
> Hi Paolo,
> 
> Could you provide an example of how to use the new call
call-out short cuts?

You would need to use OOP parameters (passed as #smalltalk
or 
#selfSmalltalk).  An example is function iconvWrapper in
i18n/i18n.c.

Paolo





 
____________________________________________________________
________________________
Sponsored Link

Compare mortgage rates for today. 
Get up to 5 free quotes. 
Www2.nextag.com


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
freeglut and opengl bindings
user name
2006-11-20 06:08:46
Brad Watson wrote:
> Paolo,
> 
> Do you have plans to add gst to swig ?

I have no idea of the complexity of this task.  It seems
relatively 
similar to JNI, which SWIG supports, in terms of
complexity...

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
freeglut and opengl bindings
user name
2006-11-20 06:17:04
On 11/20/06, Paolo Bonzini <paolo.bonzinilu.unisi.ch> wrote:

> I have no idea of the complexity of this task.  It
seems relatively
> similar to JNI, which SWIG supports, in terms of
complexity...
>

Oh!, I thought it is closer to the CLISP FFI (which SWIG
supports too).

-Krishna
-- 
I long to accomplish a great and noble task, but it is my
chief duty
to accomplish small tasks as if they were great and noble !
- Helen Keller


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
freeglut and opengl bindings
user name
2006-11-20 08:37:15
>> I have no idea of the complexity of this task.  It
seems relatively
>> similar to JNI, which SWIG supports, in terms of
complexity...
> 
> Oh!, I thought it is closer to the CLISP FFI (which
SWIG supports too).

Might be.  As far as I could see, the biggest design choice
is whether 
the C function gets the argument count and an argument
vector, or rather 
the arguments already converted to C data types and placed
into 
different arguments.  Python for example is the former, Java
is the latter.

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )