|
|
|
|
|
by eridius
3499 days ago
|
|
That's not a function, that's a closure. And you can simulate that in C by creating a struct that contains the function pointer and the set of captured data (and then when you invoke the function you pass the struct to it as a parameter). |
|