1
0
Fork 0

getAttribute(): s/refcount/references/

This commit is contained in:
mfranz 2007-10-21 20:19:12 +00:00
parent 270444a675
commit dd964fef6e

View file

@ -84,7 +84,7 @@ static naRef f_getAttribute(naContext c, naRef me, int argc, naRef* args)
if(!a) a = "";
if(!strcmp(a, "children")) return naNum((*node)->nChildren());
else if(!strcmp(a, "listeners")) return naNum((*node)->nListeners());
else if(!strcmp(a, "refcount")) return naNum(node->getNumRefs());
else if(!strcmp(a, "references")) return naNum(node->getNumRefs());
else if(!strcmp(a, "tied")) return naNum((*node)->isTied());
else if(!strcmp(a, "alias")) return naNum((*node)->isAlias());
else if(!strcmp(a, "read")) attr = SGPropertyNode::READ;