The docs (as of 0.6) are pretty clear how to embed a julia function from the Base module:
https://docs.julialang.org/en/release-0.6/manual/embedding/
I see that there are some convenience options for Base
and Main
, but what about custom modules?
How can I call a function that is from a custom module? Do I need to resolve the module in C based on the string name?
nextr
2
Hi standarddeviant,
I opened a similar topic a few days ago. I doesn’t seem trivial, but there are some information here :
Hope it could help.
Nextor
The two questions are unrelated.
And there’s no difference between Base
and custom functions. Yes, you just need to evaluate the right string to get the reference to your module.
nextr
4
You’re right. Not the same subject.
Sorry