returning a string from a primitive
Diman Todorov
diman.todorov at chello.at
Mon Mar 5 16:14:53 UTC 2007
Hello,
I am currently struggling to return a string from a virtual machine
primitive. The only example derived from SmarySyntaxInterpreterPlugin
I was able to find in the Squeak sources is in the
InternetConfigPlugin (in primitiveGetStringKeyedBy:). This Plugin
instantiates a new string object and explicitly iterates over the
string to copy it to squeak. Isn't there a more elegant way to return
a string from a c function?
cheers
Diman
More information about the Squeak-dev
mailing list
|