If you have defined a module already (by eval'ing julia code?) then you can
look up the binding and cast that to a jl_module_t.
On Sep 3, 2014 8:14 AM, "Einar Otnes" <[email protected]> wrote:

> Dear experts,
>
> I've looking at the documentation " Embedding Julia" (
> http://julia.readthedocs.org/en/latest/manual/embedding/) to figure out
> how I can call my own julia functions from within C, and I'm struggling to
> figure out how I should define the jl_module_t that corresponds the module
> I've defined. The examples show that there is an instance of jl_module_t,
> "jl_base_module",  that you need to provide to be able to call a function
> defined in the base module. How do I define a corresponding jl_module_t
> type for the modules that are defined outside of standard julia, e.g. for
> the external packages or the modules I have created myself?
>
> Thanks for your help.
>
> Best regards,
>
> Einar Otnes
>
>

Reply via email to