k12Sergey
k12Sergey
i found out that AutoHide widget is a custom internal class, so simple way is to take DockWidget icon size setting (its wrong way because it a common sidebar setting)....
I try to use mingw and it obviously compile with julia CxxWrap module, but still cant call ``` jl_eval_string( R"( using example println(1))"); ```
> If I understand correctly, this is more or less what is done in this test here: https://github.com/JuliaInterop/libcxxwrap-julia/blob/main/test/test_module.cpp Thanks for reply. Its seems like what i searching for. But i...
I found in the doc about `@wrapmodule @wraptypes @wrapfunctions` which called in example with ``` cpp jl_call1(jl_get_function(jlcxx::get_cxxwrap_module(), "wraptypes"), mod); ``` add `wrapfunctions` trying to call function from module, no effect
`wrapfunctions` does not exist in `jlcxx::get_cxxwrap_module()` but `wraptypes` do. in the following code ptr is not zero ``` jl_value_t* dt = jl_eval_string("TestModule.Foo"); ``` even so ``` jl_eval_string("v = TestModule.Foo()") ```...
Posibly i should change julia signature ``` function Eg(db::Ptr{Cvoid}, mat::Cint) # convert void* to CppTypes.Database ? return GetProperty(db, mat) end ```
Sorry, i still dont get which type should be in c++ signature for binded struct. SafeCFunction know how to handle custom structs? `@safe_cfunction` still need to cast into function (which...
I try out to modify example from doc. (original one work correctly) ```jl function Test(eg::CppTypes.Database) :: Cvoid println("im test function") end ptr = @safe_cfunction(Test, Cvoid, (Main.CppTypes.DatabaseAllocated,)) println(typeof(ptr)) test_safe_cfunction(ptr) ``` with...
Its not obvious how to get `jlcxx::SafeCFunction` and how to cast it to function with user binded argument. Is it possible or wrapping work only one way and global variables...
I've got similar problem on Windows10 with mingw compiler and last julia version with the following code (its never worked till the end) ```cpp double juliaTest() { using namespace jluna;...