Skip to content

use agbindrec

Costa Shulyupin requested to merge makelinux/graphviz:agbindrec into main

These bugs was fixed solely due to !2518 (closed) with CHECK defined!

Family of defines ND_* requires AGDATA(n) being of type Agnodeinfo_t*. For performance optimization production code doesn't perform any checks.

To work right it is need call preferably

  agbindrec(n, "Agnodeinfo_t", sizeof(Agnodeinfo_t), false);

or with lock

  agbindrec(n, "Agnodeinfo_t", sizeof(Agnodeinfo_t), true);

to initialize data with Agnodeinfo_t somewhere before using ND_* defines

Edited by Costa Shulyupin

Merge request reports