which gives you a single signature for all of your calls.struct data { int type; union { int i; char *c; } value; }; int the_function(int argc, struct data *argv) { .... }
Not exactly clean, but workable...
Michael
In reply to Re: I love anonymous functions!
by mpeppler
in thread I love anonymous functions!
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |