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

Closures in raw/generic hooks #58

Open
vars1ty opened this issue Aug 24, 2024 · 0 comments
Open

Closures in raw/generic hooks #58

vars1ty opened this issue Aug 24, 2024 · 0 comments

Comments

@vars1ty
Copy link

vars1ty commented Aug 24, 2024

Is it possible to use closures that capture a variable using the Raw or Generic hooks?

I'm trying to implement runtime function hooking in a scripting language, and I need to pass a last custom parameter that identifies the function, but it's not possible if only the pointer is accepted as-is.

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

No branches or pull requests

1 participant