All Questions
Tagged with c interoperability
3
questions
2
votes
0
answers
82
views
A question about using .dll in Mathematica with LibraryFunctionLoad
I am trying to use a custom trilinear interpolation written in C in Mathematica (Windows).
This is the code I start with:
...
12
votes
3
answers
342
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:
...
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 ...