Foreign function interface: Difference between revisions
Content added Content deleted
(Changed link to point to better task) |
(→Functions: Organize task links better) |
||
Line 9: | Line 9: | ||
===Functions=== |
===Functions=== |
||
* [[Call |
* [[Call foreign language function]] |
||
** [[Call function in shared library]] (a special case) |
|||
* [[Call function from foreign language]] |
* [[Call function from foreign language]] |
||
Revision as of 21:08, 17 August 2009
Foreign function interface, or FFI, is a common name for a facility in a programming language (especially a high-level one that does not usually work in terms of pointers, raw structure layout, etc.) to invoke functions and access data structures defined using another one (especially C).
The term is commonly used in Common Lisp and Haskell.
Relevant tasks
Functions
- Call foreign language function
- Call function in shared library (a special case)
- Call function from foreign language
Data structures/memory access
- Address Operations
- Data Representation - Controlling Fields in a Structure
- Data Representation - Getting the Size
- Data Representation - Specifying Minimum Size
- Host Introspection