src/bardecode.c
l_int32
barcodeFormatIsSupported(l_int32  format)
{
l_int32  i;

   for (i = 0; i < NumSupportedBarcodeFormats; i++) {
       if (format == SupportedBarcodeFormat[i])
           return 1;
   }
   return 0;
}
/*!
 *  barcodeFormatIsSupported()
 *
 *      Input:  format
 *      Return: 1 if format is one of those supported; 0 otherwise
 *
 */
barcodeFormatIsSupported()
Input:  format
Return: 1 if format is one of those supported; 0 otherwise
barcodeFormatIsSupported () Input : format Return : 1 if format is one of those supported ; 0 otherwise
l_int32
barcodeFormatIsSupported(l_int32  format)
{
l_int32  i;
   for (i = 0; i < NumSupportedBarcodeFormats; i++) {
       if (format == SupportedBarcodeFormat[i])
           return 1;
   }
   return 0;
}
l_int32 barcodeFormatIsSupported ( l_int32 format ) { l_int32 i ; for ( i = 0 ; i < NumSupportedBarcodeFormats ; i ++ ) { if ( format == SupportedBarcodeFormat [ i ] ) return 1 ; } return 0 ; }
barcodeFormatIsSupported()
      Input:  format
      Return: 1 if format is one of those supported; 0 otherwise
barcodeFormatIsSupported () Input : format Return : 1 if format is one of those supported ; 0 otherwise