What is the function of R_igraph_attribute_protected and R_igraph_attribute_protected_size ?
Introduced in response to igraph/igraph#508.
Do we even need to call R_PreserveObject() and R_ReleaseObject() on the list that contains all attributes? It seems necessary currently, e.g., #865 only passed tests after 2a6e845 has been added.
Need a better understanding of object lifetime, and perhaps more documentation.
What is the function of
R_igraph_attribute_protectedandR_igraph_attribute_protected_size?Introduced in response to igraph/igraph#508.
Do we even need to call
R_PreserveObject()andR_ReleaseObject()on the list that contains all attributes? It seems necessary currently, e.g., #865 only passed tests after 2a6e845 has been added.Need a better understanding of object lifetime, and perhaps more documentation.