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

C++ Support #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

C++ Support #41

wants to merge 1 commit into from

Conversation

jchv
Copy link
Collaborator

@jchv jchv commented Sep 15, 2024

Some of the code in Rugburn is getting pretty complex. For better or worse, I believe we can manage some of that complexity (especially around dynamically allocated memory and data structures) using C++ than we can using C.

It is unclear if we will be able to use STL containers or static initializers, it's probably possible, but will need work on both the MinGW and MSVC side to correctly statically link the C++ standard library as well as perform the correct initialization.

P.S.: The amount of casting this introduces is pretty ugly, but it should pay off, as we should be able to introduce templates later on which can make e.g. HookProc type-checked.

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.

1 participant