Skip to main content

Questions tagged [foreign-function-interface]

11 votes
3 answers
298 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: ...
Stefan Gillessen's user avatar
4 votes
0 answers
98 views

Are ForeignFunction and its friends the next generation of LibraryLink?

It's a bit surprising to me that no one asks about this so far, so let me step up :) . In version 13.3, an EXPERIMENTAL Foreign Function Interface has been introduced. I'm by no means a C expert, but ...
xzczd's user avatar
  • 67k