fungos / cr

cr.h: A Simple C Hot Reload Header-only Library
https://fungos.github.io/cr-simple-c-hot-reload/
MIT License
1.54k stars 101 forks source link

Added crash support for clang and fixed missing character with .dll name #68

Closed clibequilibrium closed 2 years ago

clibequilibrium commented 2 years ago

This PR adds crash support for clang (tested on Windows)."

This method uses previous working setjmp and longjmp method to catch the exceptions.

Also this PR fixes an issue where a new dll will be created but 1 character would be missing ie:

"open-world.dll" will be created as "open-worl1.dll" with "d" letter missing .