Verify that the user passed in an index whose value corresponds with the * type. See the comment above the declaration of get_user_arg_offset for the * intention behind this. */
| 66 | * intention behind this. |
| 67 | */ |
| 68 | static constexpr inline bool |
| 69 | SanityCheckUserIndex(TSUserArgType type, int idx) |
| 70 | { |
| 71 | int const block_start = get_user_arg_offset(type); |
| 72 | return idx >= block_start && idx < block_start + 1000; |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | This is a mixin class (sort of), implementing the appropriate APIs and data storage for |
no test coverage detected