Next: Interfacing with C#, Up: Language specific bindings [Contents]
• Using pragma foreign_type for C : | Declaring C types in Mercury | |
• Using pragma foreign_enum for C : | Assigning Mercury enumerations values in C | |
• Using pragma foreign_export_enum for C : | Using Mercury enumerations in C | |
• Using pragma foreign_proc for C : | Calling C code from Mercury | |
• Using pragma foreign_export for C : | Calling Mercury code from C | |
• Using pragma foreign_decl for C : | Including C declarations in Mercury | |
• Using pragma foreign_code for C : | Including C code in Mercury | |
• Memory management for C : | Caveats about passing dynamically allocated memory to or from C. | |
• Linking with C object files : | Linking with C object files and libraries. | |