C++: Use sr_input_scan_*() API changes.