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

void zbar_symbol_set_ref ( const zbar_symbol_set_t symbols,
int  refs 

reference count manipulation. increment the reference count when you store a new reference. decrement when the reference is no longer used. do not refer to the object any longer once references have been released.


Definition at line 224 of file symbol.c.

References zbar_symbol_set_ref().

Referenced by zbar::SymbolSet::ref(), zbar_image_scanner_destroy(), zbar_image_set_symbols(), zbar_processor_get_results(), zbar_scan_image(), zbar_symbol_set_ref(), and zbar_window_redraw().

    zbar_symbol_set_t *ncsyms = (zbar_symbol_set_t*)syms;
    if(!_zbar_refcnt(&ncsyms->refcnt, delta) && delta <= 0)

Generated by  Doxygen 1.6.0   Back to index