in reply to Re: I love anonymous functions!
in thread I love anonymous functions!
Actually it might be better to make a struct with a type field and a union member that contained all the possible arguments rather than having a potentially huge struct. Then again if you're going to do that just pass the type and a void* and cast appropriately.
|
|---|