Skip to content
Prev 35485 / 63421 Next

R_PreserveObject, R_ReleaseObject : reference counting needed ?

On 1/2/10 5:50 PM, Romain Francois wrote:
(...)
If you do not allow several C++ instances to share the same SEXP, you 
should not need reference counting. In the case of rpy2, this was made 
necessary for allowing inheritance (as nested calls to constructors can 
cause a transient sharing of the given SEXP across several Python objects).


(...)



L.