![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
To produce an argument value and to advance the argument pointer, the
va_arg
macro needs the current argument pointer, of course. Also,
it needs to know the type of the current argument value so that it can
advance the argument pointer appropriately:
*-- The argument count | | The place pointed to by argument_pointer | | | *-- The price | | | v | | *-- The number of shares | | | v v v ------- --------------- ------- --*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- | | | | | | | | | | | | | | | | | | | | | | | | | | -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--