| 248 | |
| 249 | |
| 250 | static int countint (const TValue *key, unsigned int *nums) { |
| 251 | unsigned int k = arrayindex(key); |
| 252 | if (k != 0) { /* is 'key' an appropriate array index? */ |
| 253 | nums[luaO_ceillog2(k)]++; /* count as such */ |
| 254 | return 1; |
| 255 | } |
| 256 | else |
| 257 | return 0; |
| 258 | } |
| 259 | |
| 260 | |
| 261 | /* |
no test coverage detected