lexborisov / Modest

Modest is a fast HTML renderer implemented as a pure C99 library with no outside dependencies.
GNU Lesser General Public License v2.1
732 stars 65 forks source link

Improved OS abstraction #10

Closed tcheko closed 7 years ago

tcheko commented 7 years ago

Hi Lexbor,

It would be nice if all the OS abstraction was made with split files per operating system instead of relying on #ifdef statements which can be cumbersome to maintain or expand.

os/windows os/linux os/macos os/bsd os/pickyourpoison

I see four obvious abstraction targets : memory, threading, io, and timer.

lexborisov commented 7 years ago

Added in split branch Soon branch Split will be merged to master

lexborisov commented 7 years ago

Done!