Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Sep 8, 2024

This argument has already been treated as a bool. The change just makes it more clear.

Since bool (uint8_t) and int (int32_t) both compile down to i32 at the wasm level this change won't be backwards compatibility issue for binary object files.

…set_main_loop`

This argument has already been treated as a bool.  The change just makes
it more clear.

Since `bool` (uint8_t) and `int` (int32_t) both compile down to i32 at
the wasm level this change won't be backwards compatibility issue for
binary object files.
@sbc100 sbc100 changed the title Use bool type for simulate_infinite_loop argument of `emscripten_… Use bool type for simulate_infinite_loop argument of emscripten_set_main_loop Sep 8, 2024
@sbc100 sbc100 requested a review from kripken September 8, 2024 16:49
@sbc100 sbc100 merged commit 3dfabe6 into emscripten-core:main Sep 9, 2024
2 checks passed
@sbc100 sbc100 deleted the simulate_infinite_loop branch September 9, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants