From b88ba88e1b27e6d1c8fd9dcf265379b72e2bb039 Mon Sep 17 00:00:00 2001 From: Sven Gestegard Robertz <sven.robertz@cs.lth.se> Date: Sun, 26 Oct 2014 21:12:31 +0100 Subject: [PATCH] added todo comment to c decoder --- lib/c/labcomm_decoder.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/c/labcomm_decoder.c b/lib/c/labcomm_decoder.c index 6221d65..abf2780 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( -- GitLab