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

Figure out if Sourcepawn enum structs are going to break API #1211

Open
rtldg opened this issue Jul 9, 2024 · 0 comments
Open

Figure out if Sourcepawn enum structs are going to break API #1211

rtldg opened this issue Jul 9, 2024 · 0 comments
Assignees

Comments

@rtldg
Copy link
Collaborator

rtldg commented Jul 9, 2024

alliedmodders/sourcepawn#945 does some things like make enum structs not really arrays anymore.
bhoptimer has API which passes structs around as array parameters like this for reasons:

native void Shavit_SaveSnapshot(int client, any[] snapshot, int size = sizeof(timer_snapshot_t));
native bool Shavit_LoadSnapshot(int client, any[] snapshot, int size = sizeof(timer_snapshot_t), bool force = false);

Check if this is a problem whenever SM 1.12's sourcepawn submodule is updated.

@rtldg rtldg self-assigned this Jul 9, 2024
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