For an example, here I've tested it on the vctrs C codebase. Mainly added in this commit:
https://github.com/DavisVaughan/vctrs/commit/35ec089b208ab31d089e0a525236efc47152e9ad …
Generating this awesome `init.c` file:
https://github.com/DavisVaughan/vctrs/blob/69f839f41975871edfd40604b71ea44938f9061a/src/init.c …
Still highly experimental and in flux 
-
-
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
devs, {cbuild} can now write the ENTIRE `src/init.c` file for you with `write_init()`, powered by comment attributes like `// [[ export() ]]`.
It has support for:
- .Call()
- .External()
- Registering C callables
- Custom init hooks