Files
mercury/samples/c_interface/simpler_cplusplus_calls_mercury/README
Fergus Henderson 7d46fde7f3 Update to use the new mercury_init() and mercury_terminate()
samples/c_interface/simpler_c_calls_mercury/README:
samples/c_interface/simpler_c_calls_mercury/c_main.c:
samples/c_interface/simpler_c_calls_mercury/mercury_lib.m:
samples/c_interface/simpler_cplusplus_calls_mercury/README:
samples/c_interface/simpler_cplusplus_calls_mercury/cpp_main.cc:
samples/c_interface/simpler_cplusplus_calls_mercury/mercury_lib.m:
	Update to use the new mercury_init() and mercury_terminate()
	functions.
1997-09-06 13:04:32 +00:00

4 lines
209 B
Plaintext

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.