> 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...
Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum Fri, 08 Jun 2012 04:15:09 -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...