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

Add event handler context #29

Merged
merged 6 commits into from
May 23, 2024
Merged

Add event handler context #29

merged 6 commits into from
May 23, 2024

Conversation

jd-yolabs
Copy link
Collaborator

This PR has two high-level components:

  1. Split builds under extra/ according to IMPLEMENTATION.
  2. Add a void* context parameter to ErModule_ts and ErEventHandler_ts.

The context parameter lets us make modules from C++ class instances that share an event handler function. In that case, we can pass a pointer to the object as the context parameter.

@linkmonitor linkmonitor force-pushed the pr/add-eventhandler-context branch from 41a9c6f to a46ec60 Compare May 21, 2024 21:34
@linkmonitor linkmonitor merged commit 9a1b473 into main May 23, 2024
1 check passed
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