** Add an integer to list of constants and return its index. */
| 583 | ** Add an integer to list of constants and return its index. |
| 584 | */ |
| 585 | static int luaK_intK (FuncState *fs, lua_Integer n) { |
| 586 | TValue o; |
| 587 | setivalue(&o, n); |
| 588 | return addk(fs, &o, &o); /* use integer itself as key */ |
| 589 | } |
| 590 | |
| 591 | /* |
| 592 | ** Add a float to list of constants and return its index. Floats |
no test coverage detected