More tweaks

This commit is contained in:
Steve Underwood 2012-08-26 20:28:48 +08:00
parent 3b4aafe945
commit dbec2dcbaf
2 changed files with 12 additions and 0 deletions

View File

@ -799,6 +799,12 @@ SPAN_DECLARE(int) t85_decode_restart(t85_decode_state_t *s)
}
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE(logging_state_t *) t85_decode_get_logging_state(t85_decode_state_t *s)
{
return &s->logging;
}
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE(t85_decode_state_t *) t85_decode_init(t85_decode_state_t *s,
t4_row_write_handler_t handler,
void *user_data)

View File

@ -675,6 +675,12 @@ SPAN_DECLARE(int) t85_encode_restart(t85_encode_state_t *s, uint32_t image_width
}
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE(logging_state_t *) t85_encode_get_logging_state(t85_encode_state_t *s)
{
return &s->logging;
}
/*- End of function --------------------------------------------------------*/
SPAN_DECLARE(t85_encode_state_t *) t85_encode_init(t85_encode_state_t *s,
uint32_t image_width,
uint32_t image_length,