You can create a custom pragma and tag your proc with it.

It will get passed the proc AST, including the name so you can add h3d and 
uppercase the first letter so that it matches the C API. I don't have a handy 
example right now though.

Alternatively, use c2nim and use a regexp on the output .

Reply via email to