no extern "C" into ocaml C-stub headers #5467
Original bug ID: 5467
When creating a binding to C++ code it is necessary to compile against a C++ compiler (ex g++).
The problem is due to the fact that caml_copy_string is seen as C++ symbol (not as C symbol).
In my opinion this should not be the case. It would be better that the headers starts with:
and ends with:
To enable the possibility to use it in C and C++.