NanoMichael / MicroTeX

A dynamic, cross-platform, and embeddable LaTeX rendering library
MIT License
435 stars 74 forks source link

Do not depend on bool being one byte #176

Closed afalkenhahn closed 5 months ago

afalkenhahn commented 6 months ago

The size of the bool data type is implementation-defined. I'm on a platform where gcc defaults to bool being 4 bytes, not 1. Thus we should use u8 here instead of bool to make sure the code is portable.