ThrowTheSwitch / CException

Lightweight exception implementation for C
http://throwtheswitch.org
MIT License
326 stars 66 forks source link

Using memcmp to test equality when comparing a caught exception again… #10

Closed gsrunion closed 6 years ago

gsrunion commented 6 years ago

…st CEXCEPTION_NONE. This allows CEXCEPTION_T to be a struct and in my case carry file name and line number information along with an enermerated code. This adds a little weight to the object, but 2 ints and a pointer are not that hefty.