| 375 | |
| 376 | |
| 377 | static int countint(const TValue *key, unsigned int *nums) { |
| 378 | unsigned int k = arrayindex(key); |
| 379 | if (k != 0) { /* is 'key' an appropriate array index? */ |
| 380 | nums[luaO_ceillog2(k)]++; /* count as such */ |
| 381 | return 1; |
| 382 | } |
| 383 | else |
| 384 | return 0; |
| 385 | } |
| 386 | |
| 387 | |
| 388 | /* |
no test coverage detected