plugin primitive with 32 bit parameters, how?
Tim Rowledge
tim at sumeru.stanford.edu
Sun Sep 28 23:38:58 UTC 2003
Ragnar Hojland Espinosa <ragnar at linalco.com> wrote:
> On Thu, Sep 25, 2003 at 10:27:57AM -0700, John M McIntosh wrote:
> > In your plugin say it is a Oops parameter, then invoke
> > positive32BitValueOf against it to get the integer.
>
> After much crashing..
>
> And now I have to ask on how to do it the other way, that is, from C
> to squeak.
Take a look at uses and implementations of returnTypeC: , asOOP: ,
Unsigned. If I understand your question correctly you might find
inspiration in TestOSAPlugin.
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Strange OpCodes: WRTJ: Who Reads This Junk?
More information about the Squeak-dev
mailing list
|