| 241 | |
| 242 | |
| 243 | static int countint (const TValue *key, unsigned int *nums) { |
| 244 | unsigned int k = arrayindex(key); |
| 245 | if (k != 0) { /* is 'key' an appropriate array index? */ |
| 246 | nums[luaO_ceillog2(k)]++; /* count as such */ |
| 247 | return 1; |
| 248 | } |
| 249 | else |
| 250 | return 0; |
| 251 | } |
| 252 | |
| 253 | |
| 254 | /* |
no test coverage detected