This class represents a buffer, which stores variable arguments in the kind of C language:
The Implementation in C is much other than in Java.
In Java it is simple: All arguments are of type Object, and the variable argument list
is a Object[]. The memory of all arguments are handled in garbage collection. It is really simple.
But in C there are some problems:
- Type of arguments
- Location of arguments: Simple numeric values are in stack (only call by value is possible)
but strings (const char*) may be non persistent. No safety memory management is present.
Therefore in C language some things should be done additionally. See the special C implementation
in VaArgList.c.