mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 10:53:40 +00:00
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.
6 lines
179 B
Plaintext
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.
|