help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Using Smalltalk as a scripting language


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Using Smalltalk as a scripting language
Date: Thu, 29 Oct 2009 20:29:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4

On 10/29/2009 08:21 PM, Roland Plüss wrote:
As far as I get you can mess with the
pointer from smalltalk code.

Then do the same that CObject does, but manually. Make your class <shape: #byte> and create it with sizeof(void *) indexed instance variables (with gst_object_alloc). At the end of the struct you can place a "void *opaque" data and set it after the call to gst_object_alloc.

Paolo




reply via email to

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