Hacker News new | past | comments | ask | show | jobs | submit login

You'd probably have to #define "return" to call longjmp instead. Although I guess at this point you might be better off just have return call the cleanup code. You'd have to be careful to handle the nesting correctly though, which might be slightly easier with setjmp contexts.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: