OSTCTools import support

Salvador Cuñat salvador.cunat at gmail.com
Fri Apr 3 00:26:56 PDT 2015


2015-04-03 9:13 GMT+02:00 Jef Driesen <jef at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150403/827b80c0/attachment.html>


More information about the subsurface mailing list