knot126 / Melon

Foxy library that does everything* and tastes good
Other
0 stars 0 forks source link

Switch style from (length, pointer) to (pointer, length) #19

Open knot126 opened 2 months ago

knot126 commented 2 months ago

The original size_t length, void *pointer-style for function calls with buffers was inspired by the syntax of fread(), which is not consistent with stuff like structs and pretty much everywhere else (length, pointer) pairs are used.