List Info

Thread: dynamic c calls in gst2.3




dynamic c calls in gst2.3
user name
2006-12-06 13:40:46
Hi Paolo

Please find attached an example file.

Kind regards,

----- Original Message ----
From: Paolo Bonzini <paolo.bonzinilu.unisi.ch>
To: Brad Watson <whitebearded1yahoo.com>
Cc: help-smalltalkgnu.org
Sent: Wednesday, December 6, 2006 12:33:38 AM
Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3

> I upgraded to the 2.3 release of gst, but now dynamic
c-calls aren't working for me:
>
> Is there a different way I should invoke them now ?

Can you send the file?  This works for me:

DLD addLibrary: 'libc.la'.
Object compile: 'getpid <cCall: ''getpid'' returning:
#int args: #()>'!
nil getpid printNl!

Paolo





 
____________________________________________________________
________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com_______________
________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

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

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