| ▲ | ceteia 3 hours ago | |
Nitpicking: https://github.com/thelowsunoverthemoon/mahler.c/blob/4ebfe8... Should that type have been mah_acci instead of int? mah_acci doesn't seem to be used anywhere. Also, have you considered using (edit) designated initializer syntax for some of the function calls that take in structs as arguments? https://cppreference.com/w/c/language/struct_initialization.... | ||
| ▲ | lowsun 3 hours ago | parent [-] | |
Ah yes, that is by design. This is because it supports more than a double sharp / double flat (eg triple sharp, quad sharp, etc). The enums are there just for the most common values so it's easier to read. As for second, that's a good point! Would definitely make readability better, thanks. | ||