mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
For reference see http://www.g-truc.net/post-0708.html and http://lxr.free-electrons.com/source/include/linux/kernel.h#L54 This will provide a type-safe mechanism for counting elements of array. If you try passing something which cannot be counted, compiler will frown at you right away.