Return values in primitives.

Alain Fischer mailinglist.fischer at bluewin.ch
Mon Apr 4 14:32:53 UTC 2005


I just looked in a 3.6 image for all the sender of #pop:thenPush:
and there is a lot of examples with various number of pops.
Where did your example come from ?

One other point is that #pop:thenPush: is generated automatically and 
correctly
when you write your plugin in smalltalk with a "^returnValue" and then 
generate C code.

Alain


On Apr 04, 2005, at 16:07PM, thimof at iutc3.unicaen.fr wrote:

> First, thank you for answering.
> Not to contradict what you said but it still seems that each function 
> I see
> always popThenPush exactly 5 parameters even when the function takes 
> none. What
> you said looks more logical to me but the only examples I have always 
> work with
> 5 parameters. Don't you think there could be something else?
>




More information about the Squeak-dev mailing list