Plugins sending messages to objects?
ned at bike-nomad.com
Tue Apr 9 16:49:01 UTC 2002
On Tuesday 09 April 2002 05:32 am, Kris Gybels wrote:
> Hi all,
> I was looking into Squeak Plugin creation and am wondering: can
> plugins send messages to Smalltalk objects? I only took a quick
> peek at the VM API but it seemed that plugins are limited to
> getting and setting instance variables of objects, not send
> messages to them. Or did I just miss something?
From "Extending the Squeak Virtual Machine", which is a chapter by
Andrew C. Greenberg in the book "Squeak: Open Personal Computing and
Multimedia" by Mark J. Guzdial and Kimberly M. Rose ISBN:
or on page 23 of the PDF available at
One of the great weaknesses in the Squeak VM memory model is that the
interpreter cannot readily be called from a C-language function.
Accordingly, applications requiring callbacks are somewhat difficult
to implement. A limited callback capacity can be approximated using
the interpreterProxy method:
interpreterProxy signalSemaphoreWithIndex: semaIndex.
GPG key ID: BEEA7EFE
More information about the Squeak-dev