Hi! I am very interested in your development, I want to use it in our cad program. I tried to write headers for pascal https://github.com/zamtmn/fplnlib , based on your CAPI. It works, but it doesn't seem optimal to me. Any call leads to the build of a C++ object from C data and back.
Could you change the approach to writing from bindings, or add to an existing one?
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/lcl/interfaces/qt5/cbindings/src/qcombobox_c.cpp
The reference to the class instance is passed out, in wrapper procedures it is converted to a class and the corresponding method is called.
Hi! I am very interested in your development, I want to use it in our cad program. I tried to write headers for pascal https://github.com/zamtmn/fplnlib , based on your CAPI. It works, but it doesn't seem optimal to me. Any call leads to the build of a C++ object from C data and back.
Could you change the approach to writing from bindings, or add to an existing one?
https://gitlab.com/freepascal.org/lazarus/lazarus/-/blob/main/lcl/interfaces/qt5/cbindings/src/qcombobox_c.cpp
The reference to the class instance is passed out, in wrapper procedures it is converted to a class and the corresponding method is called.