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

const zbar_symbol_set_t* zbar_processor_get_results ( const zbar_processor_t processor  ) 

retrieve decode results for last scanned image/frame.

Returns:
the symbol set result container or NULL if no results are available
Note:
the returned symbol set has its reference count incremented; ensure that the count is decremented after use
Since:
0.10

Definition at line 552 of file processor.c.

References zbar_processor_get_results(), and zbar_symbol_set_ref().

Referenced by zbar::Processor::get_results(), and zbar_processor_get_results().

{
    zbar_processor_t *ncproc = (zbar_processor_t*)proc;
    proc_enter(ncproc);
    const zbar_symbol_set_t *syms = proc->syms;
    if(syms)
        zbar_symbol_set_ref(syms, 1);
    proc_leave(ncproc);
    return(syms);
}


Generated by  Doxygen 1.6.0   Back to index