exportc now mangles same as importc, fixes #10578 (#12144)

* fixes #10578
* add tests
* add changelog
* add {.exportcpp.}
This commit is contained in:
Timothee Cour 2019-09-06 03:54:44 -07:00 • committed by Andreas Rumpf
commit 32769c478b
7 changed files with 76 additions and 34 deletions

View file

@ -31,6 +31,8 @@ type
```
- `exportc` now uses C instead of C++ mangling with `nim cpp`, matching behavior of `importc`, see #10578
Use the new `exportcpp` to mangle as C++ when using `nim cpp`.
### Breaking changes in the compiler