I’m working on writing a wrapper for an existing sparse linear algebra library using CxxWrap.jl, and one of the functions takes a SuiteSparse (under a different name, but identical by design memory layout) sparse matrix as an argument. Is it possible to declare using CxxWrap that this function should be passed the corresponding Ptr{SuiteSparse.CHOLMOD.C_Sparse{Float64}} argument, or will I need to have it take a void* and then wrap the wrapper?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
@cfunction with CxxWrap arguments | 1 | 43 | December 5, 2024 | |
Passing function pointer to Cxx | 7 | 1582 | December 2, 2018 | |
CxxWrap tutorial - matrix input and output args | 2 | 293 | January 23, 2023 | |
Macro for linking Julia fcn to @ccall of C fcn, given names and arg types | 3 | 92 | January 29, 2025 | |
Creating a custom data type for CxxWrap | 2 | 728 | October 15, 2021 |