getAttribute(): s/refcount/references/
This commit is contained in:
parent
270444a675
commit
dd964fef6e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue