Variable argument list wrapper. More...
Macros | |
#define | KZ_CONST_ARGLIST |
Variable argument iterator constant modifier. More... | |
#define | KZ_READ_FLOAT_FROM_ARGLIST(list_param) |
Reads a float from variable argument iterator. More... | |
#define | KZ_READ_INT_FROM_ARGLIST(list_param) |
Reads an integer from variable argument iterator. More... | |
#define | KZ_READ_UINT_FROM_ARGLIST(list_param) |
Reads an unsigned integer from variable argument iterator. More... | |
#define | KZ_READ_BOOL_FROM_ARGLIST(list_param) |
Reads a boolean from variable argument iterator. More... | |
#define | KZ_READ_CHAR_FROM_ARGLIST(list_param) |
Reads a character from variable argument iterator. More... | |
#define | KZ_READ_STRING_FROM_ARGLIST(list_param) |
Reads a string from variable argument iterator. More... | |
#define | KZ_READ_POINTER_FROM_FROM_ARGLIST(list_param) |
Reads a pointer from variable argument iterator. More... | |
Typedefs | |
typedef va_list | kzArgList |
Variable argument iterator type. More... | |
Functions | |
void | kzArgListCopy (kzArgList *target, KZ_CONST_ARGLIST kzArgList *source) |
Makes a copy of a variable argument list. More... | |
void | kzArgListEnd (kzArgList *list) |
Deletes a copy of a variable argument list. More... | |
Variable argument list wrapper.
Copyright 2008-2017 by Rightware. All rights reserved.
#define KZ_CONST_ARGLIST |
Variable argument iterator constant modifier.
#define KZ_READ_FLOAT_FROM_ARGLIST | ( | list_param | ) |
Reads a float from variable argument iterator.
#define KZ_READ_INT_FROM_ARGLIST | ( | list_param | ) |
Reads an integer from variable argument iterator.
#define KZ_READ_UINT_FROM_ARGLIST | ( | list_param | ) |
Reads an unsigned integer from variable argument iterator.
#define KZ_READ_BOOL_FROM_ARGLIST | ( | list_param | ) |
Reads a boolean from variable argument iterator.
#define KZ_READ_CHAR_FROM_ARGLIST | ( | list_param | ) |
Reads a character from variable argument iterator.
#define KZ_READ_STRING_FROM_ARGLIST | ( | list_param | ) |
Reads a string from variable argument iterator.
#define KZ_READ_POINTER_FROM_FROM_ARGLIST | ( | list_param | ) |
Reads a pointer from variable argument iterator.
typedef va_list kzArgList |
Variable argument iterator type.
kzArgList may not be passed by value to a function nor copied without using kzArgListCopy().
void kzArgListCopy | ( | kzArgList * | target, |
KZ_CONST_ARGLIST kzArgList * | source | ||
) |
Makes a copy of a variable argument list.
void kzArgListEnd | ( | kzArgList * | list | ) |
Deletes a copy of a variable argument list.
Must be called once for every kzArgListCopy().