Is there any documentation, tips or guidelines on this or is it just a case of look at the raw 'fltk' interface through a lens which sees Chapel extern C prototypes?
Thanks.
Is there any documentation, tips or guidelines on this or is it just a case of look at the raw 'fltk' interface through a lens which sees Chapel extern C prototypes?
Thanks.
fltk is used by chplvis which is a C++ tool that visualizes communication in Chapel programs. I don't know of any cases where fltk is called directly from Chapel. Since it is a C++ library, this would probably require creating C functions to call from Chapel that in turn call the C++ functionality that is needed.
It is a long-standing TODO item to look at adding facilities for direct interoperability with C++, but this is not a small project because C++ is not a small language.