Use a typedef and interface for part catalog
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Thu, 14 Aug 2025 08:03:44 +0000 (10:03 +0200)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sat, 16 Aug 2025 10:59:40 +0000 (12:59 +0200)
commite246f30cc269585c93063e39b2a1a123ea5261f4
tree1cc927aecda09d614ddb211129910bd562826396
parentb38a5516874e2d02943f90ad1a12530e0761dc88
Use a typedef and interface for part catalog

This may be an example of premature optimization. It however only adds
a couple of lines of code. It makes changing the underlying structure
easy to swap. And I think it is worth it. It is easy to go back with
substitution, but it would not necessarily be easy to introduce this
change later on.
src/c_load.c