In reply to @michael.lenz. "you have to export": thx! but this all reads like it's about & applies to dynlinked libs? (also no mention of declspec or dllexport =) — in my case, like i said, lib is an `.a` and to be statically linked (if `link` can do that, dunno) but if so: I have to decl in nim externs for every single symbol in there? just to link? like `lua_touserdata` and what not, stuff that'd never be used directly from the nim code? we're talking 597 `.h` files in total in that lib =)