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

> very useful when working with libpng

There is no reason libpng needed to use setjmp as part of its API, and that it does so is (I hope) widely regarded as a bad decision. It's "useful" only in so much as that is the API it defines, but there is no reason that this had to be the case, and simply returning an error code would have been very very much preferable.




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

Search: