Vulcan Logic SRM  

SRM - Documentation


^ SRM Documentation
^ Function Argument Handling

- SRM_ARGC
- SRM_ARGC_CHECK
- SRM_ARGC_CHECK_BETWEEN
- SRM_GET_ARG

SRM_ARGC_CHECK_BETWEEN

SRM_ARGC_CHECK_BETWEEN --  This macro check for a fixed range of numbers of arguments passed to the function.

Description

int SRM_ARGC_CHECK_BETWEEN (int min, int max)

The behavior is the same as with the SRM_ARGC_CHECK(), except that this macro checks for a range of allowed number of parameters. The min parameter is the lowest (inclusive) number of parameters that is allowed and the max parameter is the maximum number of arguments that is allowed.

See also: SRM_ARGC() and SRM_ARGC_CHECK()

Prev: SRM_ARGC_CHECK Next: SRM_GET_ARG


© 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 by The Vulcan Logic Group