[DGD] A bug and a question about reference counting and DGD internals
Felix A. Croes
felix at dworkin.nl
Mon May 7 18:19:05 CEST 2007
"Foo the Xyzzy Avenger" <foothexyzzy at gmail.com> wrote:
> Hi list,
Hello there Foo,
The DGD_OBJECT_DATASPACE macro and the use of * in DGD_*_T types
are indeed wrong, and I'll fix them in an update soon. The other
issue is not properly documented. To store a value in an array or
mapping, you are supposed to use DGD_ARRAY_ASSIGN and
DGD_MAPPING_ASSIGN, which will take care of increasing reference
counters when appropriate.
The DGD extension interface hasn't seen a lot of testing yet, and you
may run into more problems. Please report them all!
Regards,
Dworkin
More information about the DGD
mailing list