Returns a CVaListPointer that is backed by autoreleased storage, built
from the given array of arguments.
You should prefer withVaList(_:_:) instead of this function. In some
uses, such as in a class initializer, you may find that the
language rules do not allow you to use withVaList(_:_:) as intended.
Parameters args: An array of arguments to convert to a C va_list
pointer.
Returns: The return value of the body closure parameter, if any.
Returns a
CVaListPointer
that is backed by autoreleased storage, built from the given array of arguments.You should prefer
withVaList(_:_:)
instead of this function. In some uses, such as in aclass
initializer, you may find that the language rules do not allow you to usewithVaList(_:_:)
as intended.va_list
pointer. Returns: The return value of thebody
closure parameter, if any.See Also:
withVaList(_:_:)
Declaration
func
getVaList
(
_
args
: [
CVarArg
]) -
>
CVaListPointer