Next: , Previous: Using foreign enumerations in Mercury code, Up: Foreign language interface


14.3 Data passing conventions

For each supported foreign language, we explain how to map a Mercury type to a type in that foreign language. We also map the Mercury parameter passing convention to the foreign language's parameter passing convention.