-
Notifications
You must be signed in to change notification settings - Fork 11
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
broken natives functions #18
Comments
relative issue is bmisiak/samp-precise-timers#7 |
Hey @ZOTTCE, thanks for filing the issue! Interesting. From a brief look at I thought perhaps it had something to do with native ordering. |
@bmisiak |
I've heard similar reports from users of my Rust plugins: Southclaws/pawn-json#2 (comment) |
I removed all |
@Southclaws could you help me to test bugfix? |
That branch should be a fix, I've tested it on Windows and didn't get warnings. On ubuntu 20.04 I couldn't reproduce this bug maybe because of different memory management (Windows could reuse this regions while Ubuntu isn't). sampgdk saves pointers to natives names in the |
SDK breaks native functions from other modules (like SAMP and plugins) when plugin uses
#[native(..., raw)]
orsamp_sdk::amx::Allocator
and its methods (I'm not sure which one).@bmisiak
The text was updated successfully, but these errors were encountered: