Am Montag, 10. Februar 2014 18:27:03 UTC+1 schrieb Carlos Becker:
>
> 1) I think that there would be a few issues with the lack of julia's
> exported symbols (non-DLLEXPORTed symbols in julia.h)
> The ones related to arrays and basic types are exported now, but others
> are not, and therefore runtime linking errors occur.
>
When I worked on the C-API example that is now in master I had the same
issue. The way to go:
- Create Github account
- Fork Julia
- Checkout Julia and compile it. Simply add DLLEXPORT to make the symbols
available.
- Create a pull request on github so that your changes can be merged
Note that I have no commit rights to Julia. Such core C things are usually
merged by Jeff who is exceptional good in finding flaws in code one has not
even thought about :-)
2) I am still not sure how to get a pointer to a module, given its name. Is
> this possible with the current julia api?
> I mean to be able to do something like jl_module_t *moduleptr =
> jl_get_module_by_name("MyModule") or similar.
>
I don't know that