I read the method of using variational functions in C at http://www.gnu.org/s/libc/manual/html_node/Argument-Macros.html#Argument-Macros
However, I could not understand the meaning of self-reproduction of data types. What are they and how do they differ from non-automotive data types?
Here is the C99 standard ; “self-propelled” types are those that promote themselves when default promotions are applied (§6.5.2.2, clause 6, referring to whole promotions described in section 6.3.1.1).
va_arg (§7.15.1.1) , . 2:
va_arg
[...] ( ) [...]
, , , . ( , "( ...)" - , - varargs.)
undefined §J.2 :
- va_arg , , (7.15.1.1).
( , , J "", ""...).
: va_arg(ap, float) () - float, float ( float double).
va_arg(ap, float)
float
double
, -, glibc, C .
, , " ", , int, signed unsigned int. va_arg . va_arg int, .
int
signed
unsigned
( float w.r.t double.)
, , . , , , , . , , . , , , , , .