Skip to content

Make JSInterruptHandler receive a JSContext* instead of JSRuntime* #1789

Description

@frabert

Changing typedef int JSInterruptHandler(JSRuntime *rt, void *opaque); to typedef int JSInterruptHandler(JSContext *ctx, void *opaque); would allow the handler to selectively decide whether to interrupt execution depending on the specific context being executed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions