The output of treelang programs looks like c program code to the linker and everybody else, so you should be able to freely mix treelang and C (and C++) code.
Go to the first, previous, next, last section, table of contents.