Bart Janssens

Results 264 comments of Bart Janssens

Hi, I haven't tested it, but I think you also need to add this in the `jlcxx` namespace: ```c++ template struct IsImmutable : std::true_type {}; ``` This code path is...

First of all, thanks for making that table, I should look at it in detail to check if some things can be simplified. I'll have to look into your usecase...

OK, I finally understand what's going on here, and it's bad :) Basically, if you pass a pointer to a free C++ function, CxxWrap checks the return type and arguments...

Thanks for looking further into this. Indeed, the `mapped_julia_type` is supposed to be the C-type that Julia expects for the given type. For fundamental types this is just the type...

> Oh no! It took me two weeks to figure all that out :'( Sorry :) > For your current rewrite, will there be any chance to get some more...

> So dynamic is the wording for Julia-corresponding-Julia-types via the Julia-C-API in C++ and static is for Julia-corresponding-C++-types in C++? Yes: * `static_type_mapping` maps a C++ type to a C++...

I only ever had any luck directly mapping true POD structs, even the presence of a constructor interfered. If you want, you can open a separate issue about the placement...

Yes, you were almost there, the way to do this is to cheat using `WrapContainer` and add the free functions there, using wrapped.module().method(...); There are some examples in Trilinos.jl, e.g....

Sorry for the late reply, but I don't fully understand the question. Directly mapping a struct linke this to Julia is not supported by the basic ccall interface, but you...

Unfortunately this is not supported, the layout of the `std::vector` type is not compatible with Julia. The easiest workaround would be to add the required array functions (size and element...