diff --git a/lib/c/labcomm_decoder.c b/lib/c/labcomm_decoder.c index 6221d651d519bcc5b48ba472a25cd188fc0bd133..abf2780aaa1eba1dd5dba8652a5a1bb0444efecd 100644 --- a/lib/c/labcomm_decoder.c +++ b/lib/c/labcomm_decoder.c @@ -279,9 +279,11 @@ static int decode_pragma(struct labcomm_decoder *d, int len) goto out; } } - //printf("read %d bytes\n", psize); - //TODO: add wrapped decoders, and create pragma decoder that does not - // expect a version packet + //TODO: add wrapped decoders, by adding a parameter + //struct labcomm_decoder *wrapped to all _internal_decode... functions + //incl internal_decode_one() + //and let the public function ...decode(d) call + //_internal_decode(d,d) struct labcomm_reader *pr = labcomm_bytearray_reader_new( d->reader->memory, pragma_data, psize); struct labcomm_decoder *pd = labcomm_decoder_new(