Hi all,
I'm new to this forum, but a frequent user and novice contributor to JavaCPP.
JavaCPP is essential to a project I'm currently working on, and to improve its efficacy, I have made some significant improvements on a local branch to add support for std::complex<double> and std::complex<float>. I would like to probe for ideas, concerns, and advice regarding the implementation.
My implementation adds ComplexDouble/Float and ComplexDouble/FloatPointer classes for value and pointerTypes. I have been able to wrap my project using this new local version without any issues and am currently in the testing phase. I haven't verified yet that it is memory-safe, but I believe I have a solid understanding of the Generator and drew inspiration from how double(*,[]) and String types are handled.
In the coming weeks I will be verifying with my company if there any intellectual property-related issues with pushing my changes to the Github repo. Until then, any high-level feedback would be greatly appreciated.
Cheers,
Ben Shiffman