Thinking a bit further, for me it only matters the name exported to C. I was thinking if it would be possible to use instead the exportc pragma ([https://nim-lang.org/docs/manual.html#foreign-function-interface-exportc-pragma](https://nim-lang.org/docs/manual.html#foreign-function-interface-exportc-pragma) ).
In particular, how could I replace **prefix** with the content of a variable?
proc p(s: string) {.exportc: "prefix$1".} =
echo s
Run
