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

Support for use in WASM environments (#192) #1697

Merged
merged 1 commit into from Jul 3, 2020

Commits on Jun 30, 2020

  1. Fix function pointer cast issues

    It is undefined behavior in C and C++ to cast a function pointer
    to another type and call it that way. This does work in most native
    platforms, however, despite it being UB, but in WASM it can fail.
    
    See:
    https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
    kleisauke committed Jun 30, 2020
    Copy the full SHA
    9246094 View commit details
    Browse the repository at this point in the history