| Summary: | [Feature request] replace SDL_RW* macros with functions for using in bindings | ||
|---|---|---|---|
| Product: | SDL | Reporter: | ace <spam4ace> |
| Component: | file | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, sezeroz, sylvain.becker |
| Version: | don't know | Keywords: | target-2.0.10 |
| Hardware: | All | ||
| OS: | All | ||
|
Description
ace
2019-03-01 06:45:11 UTC
Seems i'm not able to edit description: There misprint in description: "And it works, but i can use it my project, because it written in C# with SDL2-CS wrapper and there" Must be "And it works, but i CANNOT use it my project, because it written in C# with SDL2-CS wrapper and there" This could be added ... but maybe: 1/ you can report that to one who does the wrapper so that it provides also the macros 2/ There is not SDL_RWseek but maybe it exposes things to call: (ctx)->seek(ctx, offset, whence) I asked author of the wrapper about this, could you please read his answer here: https://github.com/flibitijibibo/SDL2-CS/issues/156 Tagging a bunch of bugs with "target-2.0.10" so we have a clear list of things to address before a 2.0.10 release. Please note that "addressing" one of these bugs might mean deciding to defer on it until after 2.0.10, or resolving it as WONTFIX, etc. This is just here to tell us we should look at it carefully, and soon. If you have new information or feedback on this issue, this is a good time to add it to the conversation, as we're likely to be paying attention to this specific report in the next few days/weeks. Thanks! --ryan. (In reply to Sam Lantinga from comment #5) > Done! > https://hg.libsdl.org/SDL/rev/302904fa669a This makes programs using these calls and built against 2.0.10 not to work with SDL2 <= 2.0.9. (Examples include SDL libsaries.) Is this really OK? Fwiw, we did this with all the stdlib functions (SDL_strcmp and such) and no one reported problems. (In reply to Ryan C. Gordon from comment #7) > Fwiw, we did this with all the stdlib functions (SDL_strcmp and such) and no > one reported problems. Did such a thing happen after 2.0.0 release? When? (In reply to Ozkan Sezer from comment #8) > Did such a thing happen after 2.0.0 release? When? Whoops, this happened before 2.0.0 shipped, my mistake. Sam, it's your call. I'm reopening the bug just so we can see it in the TODO list, but if you think it's okay, I'm fine with it just being closed again. --ryan. Yes, SDL guarantees that binaries built with an older library will work with newer binaries, but not the reverse. If you build with newer headers you need to ship the newer library. (In reply to Sam Lantinga from comment #10) > Yes, SDL guarantees that binaries built with an older library will work with > newer binaries, but not the reverse. If you build with newer headers you > need to ship the newer library. Even if when using old apis which (silently) changed in new versions? If you will keep this change, please document it. |