Passing strings to a plugin

Ragnar Hojland Espinosa ragnar at ragnar-hojland.com
Sun Apr 2 12:26:00 UTC 2006


On 4/2/06, Bob.Cowdery at cgi-europe.com <Bob.Cowdery at cgi-europe.com> wrote:
>         self    primitive: 'run'
>                 parameters:#(String String String SmallInteger SmallInteger
> SmallInteger).
> [...]
> When I look at the parameters on the C side the strings are sometimes
> correct (depending on their length and content) and sometimes have rubbish
> after them like the terminator is missing. The integers are always ok. Do I
> have to explicitly terminate the strings?

Either that or pass along their length.
--
Ragnar



More information about the Squeak-dev mailing list