Skip to content

Instantly share code, notes, and snippets.

@torokati44
Last active December 20, 2016 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save torokati44/37e6aca2d516cb7c3cb31b7ccf8a519e to your computer and use it in GitHub Desktop.
Save torokati44/37e6aca2d516cb7c3cb31b7ccf8a519e to your computer and use it in GitHub Desktop.
#include <stdarg.h>
enum E /* : int */ {
one
};
void f(enum E e, ...) {
va_list list;
va_start(list, e);
va_end(list);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment