Estimated hours taken: 0.5
Branches: main
Get the "C++ calls Mercury" sample working again.
samples/c_interface/cplusplus_calls_mercury/cpp_main.cc:
s/mercury_lib.h/mercury_lib.mh/
samples/c_interface/cplusplus_calls_mercury/Mmakefile:
Link in -lstdc++, since recent versions of GNU C++ require this.
Delete most of the mentions of mercury_lib.h, since they
are now handled automatically by Mmake.
s/mercury_lib.h/mercury_lib.mh/
Estimated hours taken: 0.5
samples/c_interface/c_calls_mercury/c_main.c:
samples/c_interface/cplusplus_calls_mercury/cpp_main.cc:
samples/c_interface/simpler_c_calls_mercury/c_main.c:
samples/c_interface/simpler_cplusplus_calls_mercury/cpp_main.cc:
Update the samples to use MR_ types and MR_ macros for
creating lists.