On 10/29/2009 12:24 AM, Roland Plüss wrote:
I put OOP self there since did not see
any way for the c function to know otherwise which object received the
message.

Yes, that's fine.

Now how to I attach personal data to a smalltalk object?

You derive your class from CObject, or alternatively you embed a CObject in one of the instance variables. A CObject can point to arbitrary malloced data.

Paolo


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

Reply via email to