2 ms·
You can implement defer using computed goto or longjmp. Problem is that it doesn't work if user returns early so you need a custom return macro.
by gnuhigh 2y ago
You can implement defer using computed goto or longjmp.
Problem is that it doesn't work if user returns early so you need a custom return macro.