Add support for variadic arguments in generated stubs
Previously we were using va_list for variadic arguments. The downside for this was that only the first value from the variadic argument was passed to the original function. To make it work properly we have to use the __VA_ARGS__ variadic macro that was introduces in C99 and is available in all major C/C++ compilers. Change-Id: I50652f7348a16214811aaab8af116d78cdb70444 Reviewed-on: https://chromium-review.googlesource.com/c/1323089Reviewed-by:Patrik Höglund <phoglund@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Tomáš Popela <tomas.popela@gmail.com> Cr-Commit-Position: refs/heads/master@{#606588}
Showing
Please register or sign in to comment