Skip to content
Prev 15443 / 63424 Next

Write Barrier: was: [Rd] function-like macros undefined

On Mar 16, 2005, at 1:34 PM, Vadim Ogranovich wrote:

            
Please correct me if I'm wrong, but I thought that the write barrier 
applies to assignments of SEXP values only (from the doc: "... must be 
used for all assignments of SEXP pointers ..." - note it says "of", not 
"to"). When dealing with REAL/INTEGER, I believe it's still safe to use 
INTEGER(x)[0]=... IMHO that's logical, too, because primitive types 
have no 'age' to be inherited when using ggc.

Cheers,
Simon