Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hobblin2084yNow tell me an actual use case of that type!
But seriously, C isnt hard because you can write things thar are hard to read... -
@hobblin It's not very useful this way. If both functions were to take void* and the inner one would take a pointer to some struct, this could express something like an array of delegates that each return a cleanup function.
-
Actually, in that case the functions would have to be turned into a struct of a void* and a function that takes it in the first position.
Related Rants
C isn't hard
joke/meme
c