You'll have to add the C++ support macros here for name mangling:

```c
#if defined __cplusplus
extern "C" {
#endif
```

https://github.com/jverkoey/nimbus/blob/master/src/core/src/NIFoundationMethods.h#L22