2015-04-03 9:13 GMT+02:00 Jef Driesen <j...@libdivecomputer.org>: > > The dc_parser_new() function requires a valid device handle. In this > offline parsing scenario, you don't have that. That's a shortcoming which > is already on my todo list: > > The dive callback of the dc_device_foreach() function will be changed to > no longer return the binary data, but immediately return a parser object. > The consequence is that you'll no longer need the dc_parser_new() function, > except for the offline parsing scenario. For this purpose, it will be > changed to take a device descriptor instead of a device handle. The raw > data will also need to be passed directly to this new dc_parser_new, such > that we can get rid of the silly dc_parser_set_data() function. > > Thanks Jeff, I was just typing about this point when received your mail.
Regards. Salva
_______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface