[DGD] kfun.h and kfuns for function pointers

Felix A. Croes felix at dworkin.nl
Wed Aug 14 22:33:14 CEST 2013


bart at wotf.org wrote:

> Talking about operators.. made me a simple bigarray to play with those, and noticed 
> something that seems somewhat strange.
> I can write something like
>
> object o;
> o = new_object(O_BIGARRAY);
>
> o = o + ({ 1, 2, 3 });
>
> That compiles and works, however, if I replace the last line with
> o += ({ 1, 2, 3 })
>
> I get a bad argument 1 to kfun + runtime error.

Should be fixed in the latest commit.

Regards,
Felix Croes



More information about the DGD mailing list