OK
The fix is relatively easy (thanks to C++).
Just add ampersands in the header files ...

Personally I prefer to use C syntax pointers, as it shows that the caller is actually sending the reference.
However, C++ people prefer the '&' way as it has better type checking or something ...