Commit 5261912
committed
Bugfix Lua 5.4 not working #5781
In Lua 5.4 the function lua_resume now has an extra parameter. This out parameter returns the number of values on the top of the stack that were yielded or returned by the coroutine (in previous versions, those values were the entire stack.). The constant LUA_ERRGCMM was removed. Errors in finalizers are never propagated; instead, they generate a warning.1 parent 365121d commit 5261912
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3399 | 3399 | | |
3400 | 3400 | | |
3401 | 3401 | | |
| 3402 | + | |
3402 | 3403 | | |
| 3404 | + | |
3403 | 3405 | | |
3404 | 3406 | | |
3405 | 3407 | | |
| |||
3409 | 3411 | | |
3410 | 3412 | | |
3411 | 3413 | | |
| 3414 | + | |
3412 | 3415 | | |
| 3416 | + | |
3413 | 3417 | | |
3414 | 3418 | | |
3415 | 3419 | | |
| |||
3418 | 3422 | | |
3419 | 3423 | | |
3420 | 3424 | | |
| 3425 | + | |
3421 | 3426 | | |
| 3427 | + | |
3422 | 3428 | | |
3423 | 3429 | | |
3424 | 3430 | | |
| |||
3462 | 3468 | | |
3463 | 3469 | | |
3464 | 3470 | | |
| 3471 | + | |
3465 | 3472 | | |
3466 | 3473 | | |
| 3474 | + | |
3467 | 3475 | | |
3468 | 3476 | | |
3469 | 3477 | | |
| |||
3485 | 3493 | | |
3486 | 3494 | | |
3487 | 3495 | | |
| 3496 | + | |
3488 | 3497 | | |
3489 | 3498 | | |
| 3499 | + | |
3490 | 3500 | | |
3491 | 3501 | | |
3492 | 3502 | | |
| |||
14374 | 14384 | | |
14375 | 14385 | | |
14376 | 14386 | | |
14377 | | - | |
| 14387 | + | |
14378 | 14388 | | |
14379 | | - | |
| 14389 | + | |
| 14390 | + | |
| 14391 | + | |
| 14392 | + | |
14380 | 14393 | | |
14381 | 14394 | | |
14382 | 14395 | | |
| |||
0 commit comments