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

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

Reply via email to