[DGD] kfun.h and kfuns for function pointers
bart at wotf.org
bart at wotf.org
Thu Aug 15 14:16:41 CEST 2013
On Wed, 14 Aug 2013 22:33:14 +0200, Felix A. Croes wrote
> 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.
Seems to work fine now (as do the kfun.h macros).
Thanks for the quick fix!
Bart.
--
http://www.flickr.com/photos/mrobjective/
http://www.om-d.org/
More information about the DGD
mailing list