Next: Using foreign types from Mercury, Previous: Calling Mercury from foreign code, Up: Foreign language interface [Contents]
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.
• C data passing conventions : | ||
• C# data passing conventions : | ||
• Java data passing conventions : |