SGPropertyNode::Attribute attr;
if(!a) a = "";
if(!strcmp(a, "children")) return naNum((*node)->nChildren());
+ else if(!strcmp(a, "listeners")) return naNum((*node)->nListeners());
+ 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;
static struct {
naCFunction func;
- char* name;
+ const char* name;
} propfuncs[] = {
{ f_getType, "_getType" },
{ f_getAttribute, "_getAttribute" },