Next: , Previous: Calling Mercury from foreign code, Up: Foreign language interface   [Contents]

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.