When developing with LibraryLink, is there any way to get the function name from inside the library ?

I don't think there is a way to find out the name of the function that have been used to access the C function like the FunctionX shown in the example bellow.

FunctionX = LibraryFunctionLoad[...]

I suspect there might be something in WolframRuntimeData but this one is not documented anywhere.

Is there an way to finf out the name of the shared object from inside the library ? Some kind of argv[0] for shared object.


1 Answer 1


Although there is no clear mention, in a recent discussion on wolfram community it seems there is really no way as of now.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.