hadley / r-internals

Documentation for R's internal C API
346 stars 40 forks source link

Clarify copy arguments #20

Open anderic1 opened 4 years ago

anderic1 commented 4 years ago

I just stumbled on this. Rf_copyVector, Rf_copyMatrix and Rf_copyListMatrix actually write to their first arguments.

I have not been able to test Rf_copyListMatrix but that is what I can tell from its source