| 50 | } // namespace |
| 51 | |
| 52 | const TypeInfo* type_info(int type) noexcept { |
| 53 | for (const TypeInfo& t : kTable) |
| 54 | if ((int) t.type == type) return &t; |
| 55 | return nullptr; |
| 56 | } |
| 57 | |
| 58 | size_t row_bytes(int type, int64_t n) noexcept { |
| 59 | const TypeInfo* t = type_info(type); |
no outgoing calls