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

Use an extern "C" now function that can be bound in JS #14

Merged
merged 1 commit into from
May 18, 2020

Conversation

tversteeg
Copy link
Contributor

I'm trying to get the nphysics library to run in WASM, but the platform I'm using to do this (miniquad) uses neither stdweb nor wasm-bindgen. As a result instant's now function panics during runtime.

This PR allows framework/platform creators that don't use stdweb or wasm-bindgen to still use the now feature by exposing their own function in JavaScript.

@sebcrozet
Copy link
Owner

Thanks!

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