Logo Search packages:      
Sourcecode: zebra version File versions  Download package

void zebra_image_scanner_destroy ( zebra_image_scanner_t scanner  ) 

destructor.

Definition at line 250 of file img_scanner.c.

References zebra_decoder_destroy(), zebra_image_scanner_destroy(), and zebra_scanner_destroy().

Referenced by zebra_image_scanner_create(), zebra_image_scanner_destroy(), and zebra_processor_destroy().

{
    if(iscn->scn)
        zebra_scanner_destroy(iscn->scn);
    iscn->scn = NULL;
    if(iscn->dcode)
        zebra_decoder_destroy(iscn->dcode);
    iscn->dcode = NULL;
    while(iscn->syms) {
        zebra_symbol_t *next = iscn->syms->next;
        sym_destroy(iscn->syms);
        iscn->syms = next;
    }
    free(iscn);
}


Generated by  Doxygen 1.6.0   Back to index