help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] dynamic c calls in gst2.3


From: Brad Watson
Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3
Date: Wed, 6 Dec 2006 05:40:46 -0800 (PST)

Hi Paolo

Please find attached an example file.

Kind regards,

----- Original Message ----
From: Paolo Bonzini <address@hidden>
To: Brad Watson <address@hidden>
Cc: address@hidden
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

Attachment: SDL_joystick.st
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]