Foreign function interface: Difference between revisions

From Rosetta Code
Content added Content deleted
(Changed link to point to better task)
m (→‎Functions: Avoid a broken redirect.)
 
(2 intermediate revisions by one other user not shown)
Line 9:
 
===Functions===
* [[Call functionforeign inlanguage shared libraryfunction]]
** [[Call function fromin foreignshared languagelibrary]] (a special case)
* [[Use another language to call a function]]
 
===Data structures/memory access===
* [[Address Operations]]
* [[Data Representation - Controlling Fields in a Structure]]
** [[Data Representation - GettingControlling theFields Sizein a Structure|Controlling Fields in a Structure]]
** [[Data Representation - SpecifyingGetting Minimumthe Size|Getting the Size]]
** [[Data Representation - Specifying Minimum Size|Specifying Minimum Size]]
* [[Host Introspection]]
 

Latest revision as of 15:52, 23 July 2011

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

Data structures/memory access

See also