Changeset 5945:513aedefab60 in roaraudio for include


Ignore:
Timestamp:
10/15/13 13:33:26 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Updated checks on commandlion parameters (Closes: DEB#716264, DEB#716251, DEB#716245, DEB#716240)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/libroar.h

    r5823 r5945  
    205205#define ROAR_MIN ROAR_MIN2 
    206206 
     207#define ROAR_CKHAVEARGS(x) if ( (i + (x)) >= argc ) { \ 
     208                            ROAR_ERR("Option %s requires more arguments. See --help for more details.", k); \ 
     209                            return 70; \ 
     210                            } 
     211 
    207212int roar_usleep(uint_least32_t t); 
    208213int roar_sleep(int t); 
Note: See TracChangeset for help on using the changeset viewer.