| 255 | |
| 256 | |
| 257 | static int iter_codes (lua_State *L) { |
| 258 | int lax = lua_toboolean(L, 2); |
| 259 | luaL_checkstring(L, 1); |
| 260 | lua_pushcfunction(L, lax ? iter_auxlax : iter_auxstrict); |
| 261 | lua_pushvalue(L, 1); |
| 262 | lua_pushinteger(L, 0); |
| 263 | return 3; |
| 264 | } |
| 265 | |
| 266 | |
| 267 | /* pattern to match a single UTF-8 character */ |
nothing calls this directly
no test coverage detected