Registering C functions with a comment annotation?


When browsing the C source in the vctrs package, I was surprised to see a number of functions annotated with a // [[ register() ]] (or similar) comment, like this. Are these used to generate the R_registerRoutines() calls in the package? If so, how are they getting compiled? How would I go about implementing a similar scheme in a package of my own?

Turns out the comments are there just for info -- at least for now!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.