Custom C code may be added using <code> sections
outside of <function> declarations at any time.
If the role attribute is set to 'header' the code will be
inserted right after the default #include statements, else
it will be appended after any automatically generated code.