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

Network IDs #1

Open
joshuadahlunr opened this issue Sep 14, 2023 · 0 comments
Open

Network IDs #1

joshuadahlunr opened this issue Sep 14, 2023 · 0 comments

Comments

@joshuadahlunr
Copy link
Owner

Create a table of some kind on the GO side, which holds all of the network data structures.
This would then require that on the C side init would need to return an ID for the networking structure created, and every function would need to take an ID. (Also provide _main/_default versions which just pass 0 as the network id.)
On the C++ side, Network could no longer be a singleton!

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