R object that you want to protect
Flag indicating that the object needs to be unprotected. This is false if you are making a copy of the struct, or if you are holding an object that was allocated inside R and passed to D.
See Implementation