Files
mercury/samples/c_interface
Matthias Güdemann 1b1ae35efb fix C macro name in C++ FFI example
This fixes the macro usage for `MR_list_is_empty(list)' in file
`samples/c_interface/simpler_cplusplus_calls_mercury/main.cc`.
2015-03-04 11:05:24 +01:00
..

This directory contains some examples of mixed Mercury/C programs using
the foreign language interface.

short_example.m                 A short example of Mercury code calling C.

mercury_calls_c                 A detailed example of Mercury code
                                calling C code.

c_calls_mercury                 A detailed example of C code calling
                                Mercury code.

mercury_calls_cplusplus         A detailed example of Mercury code
                                calling C++ code.

cplusplus_calls_mercury         A detailed example of C++ code calling
                                Mercury code.

mercury_calls_fortran           This directory contains a detailed
                                example of Mercury code calling Fortran code.

simpler_c_calls_mercury         A simpler example of C code calling Mercury.

simpler_cplusplus_calls_mercury A simpler example of C++ code calling
                                Mercury.

standalone_c			Another example of C code calling Mercury
				code this time use the compiler's 
				`--generate-standalone-interface' option.