Files
mercury/samples/c_interface/standalone_c/c_main.exp
Julien Fischer 008e7795f2 Add an example of how to use a stand-alone interface to the samples.
Estimated hours taken: 8
Branches: main

Add an example of how to use a stand-alone interface to the samples.

samples/c_interface/standalone_c/Makefile:
samples/c_interface/standalone_c/c_main.c:
samples/c_interface/standalone_c/c_main.exp:
samples/c_interface/standalone_c/mercury_lib.m:
	New files.  An annotated example of how to use a stand-alone interface.

samples/c_interface/README:
	Mention the new example.
2007-02-22 06:52:32 +00:00

6 lines
179 B
Plaintext

mercury_lib: the initialiser has now been invoked.
Hello World
The current value of global is 561.
The new value of global is 42.
mercury_lib: the finaliser has now been invoked.