Questions tagged [foreign-function-interface]
The foreign-function-interface tag has no usage guidance.
1
question
12
votes
3
answers
344
views
ForeignFunctionLoad / RawMemoryAllocate and c-struct that includes an array
I have an external c-function I need to call, and I wish to use ForeignFunctionLoad.
The c-function, foo, takes as an argument a reference to a struct, for example:
...