Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose methods #39

Merged
merged 7 commits into from
Nov 28, 2021
Merged

Expose methods #39

merged 7 commits into from
Nov 28, 2021

Conversation

Birch-san
Copy link
Owner

Closes #38
Closes #36
Closes #35

Exposed:

Added LeakMitigator for freeing retained references from Emscripten's JS object caches.

Deleted (unreachable) type JSContactListenerWithoutSolveCallbacks (resolves #35); the performance problem it was designed to solve (eliminating WASM->JS calls) is not a problem nowadays. Prefer JSContactListener.

…onst information to b2BodyDef bindings (for what it's worth). correct b2Body#GetLinearVelocity return type to be const-ref.
… clashed with JSContactListener, and the performance problem it was designed to solve (eliminating WASM->JS calls) is not an issue nowadays (https://hacks.mozilla.org/2018/10/calls-between-javascript-and-webassembly-are-finally-fast-%F0%9F%8E%89/)
…m. bind methods. use Array.from to get access to forEach method. prove LeakMitigator in integration test. catch the leaked NULL. drop source-map-support. update ts-node. ignore WASM maps.
@Birch-san Birch-san merged commit a0dcab3 into master Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant