packages-cpp
packages-cpp copied to clipboard
Improve PL_scan_options in C++ api
Quoting @JanWielemaker in a code review (https://github.com/SWI-Prolog/packages-cpp/pull/31):
Overall, PL_scan_options() is an ok interface from C, but I think it needs a serious redesign for C++. Variadic argument functions and this way to use pointers to the inside of the C++ objects is not so nice 😢