Would it be acceptable to create a PR that effectively allows to pass a vector of files for julia_init_c_file? My motivation is that I want to provide my library with custom init/finalization functions that should internally call init_julia and shutdown_julia, thus I would like to call create_library as something like
At the same time, it would also make sense (I guess) to provide a julia_init_h_file kwargs to create_library that defaults to String(DEFAULT_JULIA_INIT_HEADER) but that could also be overridden in a similar fashion (with either a single header or a vector).
Would it be acceptable to create a PR that effectively allows to pass a vector of files for
julia_init_c_file
? My motivation is that I want to provide my library with custom init/finalization functions that should internally callinit_julia
andshutdown_julia
, thus I would like to callcreate_library
as something likeAt the same time, it would also make sense (I guess) to provide a
julia_init_h_file
kwargs tocreate_library
that defaults toString(DEFAULT_JULIA_INIT_HEADER)
but that could also be overridden in a similar fashion (with either a single header or a vector).