2 ms·
Callbacks exist in C. But inline functions (where a parameter to another function would be placed), don't. Actually, we don't even have closures in standard C (
by delinka 10y ago
Callbacks exist in C. But inline functions (where a parameter to another function would be placed), don't. Actually, we don't even have closures in standard C (there is a non-standard extension provided by Apple that maybe you can use to recreate JavaScript's callback hell if you're so inclined...)