----- Message d'origine ----

> De : Paolo Bonzini <[email protected]>
> Objet : Re: [Help-smalltalk] How to convert a Cobject in C
> 
> On 08/24/2010 11:05 AM, Mathieu Suen wrote:
> >
> > Hi,
> >
> >  I got on object in C that come from smalltalk.
> > It is a subclass of a  CStruct.
> >
> > Now in the VM I got an OOP.
> > How do I get back  the C structure.
> 
> vmProxy->OOPToCObject, or gst_oop_to_cobject,  depending on whether 
> you're in a module or you're the one linking to  libgst.
> 
> > I am not inside a cCall or a primitive.
> 
> Where are  you? :)

:) 
I am inside the _gst_send_message_internal.
I go look how  OOPToCObject is implement.


Thanks

> 
> Paolo
> 




_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to