In this case, it is said that f is a C function.
Calling C functions from Pure is very easy.
It applies only to C++, and cannot catch memory leaks by C functions like malloc.
A function may return a value to caller (usually another C function, or the hosting environment for the function ).
The set of C functions over D also forms a Fréchet space.
When a C function is called under this model, the function's parameters are pushed onto the stack right to left.
The C standard function is an example of this.
This also accounts for the fact that the C function needs an additional parameter (giving the size of the array.)
For example, one may consider only polygonal circles or C functions.
The resulting interface can then be called by languages that can call C functions through pointers.