help-smalltalk
[Top][All Lists]
Advanced

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

Re: Re : Re : [Help-smalltalk] How to convert a Cobject in C


From: Paolo Bonzini
Subject: Re: Re : Re : [Help-smalltalk] How to convert a Cobject in C
Date: Tue, 24 Aug 2010 14:39:18 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5

On 08/24/2010 01:37 PM, Mathieu Suen wrote:
So I used the _gst_oop_to_c_object but my object have one more instance
variable:

CStruct subclass: CJitState [
      | codeBuffer |
      ...snip...
]

So the function _gst_oop_to_c_object does not return the expected structure.

_What_ is the expected structure? "jitState codeBuffer", or "jitState address"? _gst_oop_to_c_object returns the latter. That works even if you have other instance variables in it.

Paolo



reply via email to

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