mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
samples/c_interface/cplusplus_calls_mercury/Mmakefile:
samples/c_interface/mercury_calls_cplusplus/Mmakefile:
samples/c_interface/simpler_cplusplus_calls_mercury/Mmakefile:
As above.
This directory contains an example program with a C++ main() function where C++ calls Mercury. This interface is simpler than having a Mercury main/2 call a cpp_main() function which then calls back Mercury.