I would like to embed julia in an executable and use julia to call some 
routines exported from the executable. I noticed that the julia executable 
exports some functions, and I read that julia can read symbols from the 
executable. However, I have been unable to find a ccall example where a 
symbol is loaded directly from the executable. I do see some places where 
ccall is called without specifying a library file that the function is 
located in. For example in REPL.jl there is a call:

  ccall(:jl_raise_debugger, Int, ())

However it is not clear how this function is being looked up? How does 
ccall know where to look for this function? 

Reply via email to