by SloopJon · 5y ago · 0 comments
* add extern "C" to some of the headers
* include stdbool.h for bool
* include stdint.h for uint64_t et al.
* include stdlib.h and change nullptr to NULL
* change constexpr to enum
* change static_cast to C-style casts
* rewrite a function to take a pointer, rather than a reference
* write a min() function
I probably could have rewritten it as standard C++, but that somehow seemed like a more daunting prospect at the time.
No comments yet.