[squeak-dev] Pass C string into Squeak

Ang BeePeng beepeng86 at yahoo.com
Wed Jan 6 06:42:10 UTC 2010


Hi.

I wish I can get some help on this. I want to pass a C string into Squeak. I
saw "primitiveStringAtPut", "primitiveStringReplace" etc.. I'm thinking of
call a primitive in smalltalk, pass an empty String object onto stack, then
have interpreter/primitive to fill in the String. Any better way to achieve
that? What precaution should I take, to prevent C string from causing error
once it is in Squeak?

Thanks.

Ang Beepeng
-- 
View this message in context: http://n4.nabble.com/Pass-C-string-into-Squeak-tp999636p999636.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list