Skip to content

Conversation

@sung-gon-kim
Copy link

These macros allow to create fake functions that take a va_list as the last argument.
Other than that, they behave identically to the FAKE_VALUE_FUNC_VARARG and FAKE_VOID_FUNC_VARARG macros.

These macros can be used as follows:

FAKE_VALUE_FUNC_VARLIST(int, vfprintf, FILE*, va_list)
  • Your code builds clean without any errors or warnings
  • You are not breaking consistency
  • You have added unit tests
  • All tests and other checks pass

These macros allow to create fake functions that take a `va_list` as the last argument.
Other than that, they behave identically to the `FAKE_VALUE_FUNC_VARARG` and
`FAKE_VOID_FUNC_VARARG` macros.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant