| 132 | } |
| 133 | |
| 134 | int ScriptArgs::count(int i) const |
| 135 | { |
| 136 | const int n = intAt(i); |
| 137 | if (n < 0 || n > kMaxListItems) { |
| 138 | fail("argument %d is a count of %d, must be between 0 and %d", i + 1, n, kMaxListItems); |
| 139 | } |
| 140 | return n; |
| 141 | } |
| 142 | |
| 143 | /* ---- strings ----------------------------------------------------------- */ |
| 144 |
no outgoing calls
no test coverage detected