Vulcan Logic SRM  

SRM - Documentation


^ SRM Documentation
^ Function Argument Handling

- SRM_ARGC
- SRM_ARGC_CHECK
- SRM_ARGC_CHECK_BETWEEN
- SRM_GET_ARG

SRM_GET_ARG

SRM_GET_ARG --  This macro fetches a parameter from the parameter list.

Description

void SRM_GET_ARG (int index, srm_value* container, const type)

This function fetches the parameter with index index, checks the type against type and places the result in the srm_value* container. The type can be either BOOL for a boolean argument; U32, representing a unsigned long int; STR, representing a string or HASH, representing an index array.

See also: SRM_ARGC()

Prev: SRM_ARGC_CHECK_BETWEEN Next: Design


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