Module src/gnome/test-vararg.c

vim:sw=4:sts=4 Test whether a vararg function can be called when typecast to a regular function. Copyright (C) 2007 Wolfgang Oertl When run, returns 0 on success, or a non-zero exit status on error; this includes if terminated by segfault, which happens e.g. on amd64 - unless the specific workaround is enabled.

Functions

_callback (a2, ...) This is the function with variable arguments that is called.
int (func_t) Type of a non-vararg function with the parameters expected by func1
main (argc, argv) Main routine: call _callback, check the result.


Functions

_callback (a2, ...)
This is the function with variable arguments that is called.

Parameters

  • a2:
  • ...:
In file: src/gnome/test-vararg.c line 18
int (func_t)
Type of a non-vararg function with the parameters expected by func1

Parameters

  • func_t:
In file: src/gnome/test-vararg.c line 40
main (argc, argv)
Main routine: call _callback, check the result.

Parameters

  • argc:
  • argv:
In file: src/gnome/test-vararg.c line 65

Valid XHTML 1.0!