>> assign_short_svalue((union anything *)THIS->foo, > >Surely there should be an & there too? Otherwise the function just >gets a pointer to the old object (or NULL) and no reference to the >storage of THIS...
Oops, yes, true.
Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum Fri, 08 Jun 2012 05:15:14 -0700
>> assign_short_svalue((union anything *)THIS->foo, > >Surely there should be an & there too? Otherwise the function just >gets a pointer to the old object (or NULL) and no reference to the >storage of THIS...
Oops, yes, true.