theoludwig / libcproject

C static library for learning purposes. Implement useful functions/data structures while being easier to use than `libc` (C standard library).
https://libcproject.vercel.app/
MIT License
1 stars 1 forks source link

[Improvement] Usage of `<stdint.h>` as often as possible for better cross-platform compatibility (+ easier readability) #9

Open theoludwig opened 3 days ago

theoludwig commented 3 days ago

Type of Improvement

Refactoring code

Proposal

Instead of using int, long, unsigned longetc., we should use the types defined in(e.g:int64_t, uint64_t, etc.):

theoludwig commented 3 days ago

BREAKING CHANGE

theoludwig commented 3 days ago

fix!: usage of stdint instead of int types for cross-platform compatibility