| Summary: | Future-Proofing for WinRT and C++/CX: SDL_event.h may fail to compile in future ports of SDL | ||
|---|---|---|---|
| Product: | SDL | Reporter: | David Ludwig <dll> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | dll |
| Version: | HG 2.0 | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Attachments: | renames SDL_Event's "generic" field to "common", for future C++/CX compatibility | ||
|
Description
David Ludwig
2013-04-20 23:24:47 UTC
One additional, and somewhat unrelated note and correction: on the topic of porting SDL to WinRT, a few other changes do seem to be warranted to SDL's public API in order to get it running on WinRT. I mentioned that the issue described in this bugzilla-entry was the only one warranting some kind of change to SDL's public API, however this has not entirely been the case, at least in my experience. Instead, this patch is the only WinRT-specific change to SDL's headers that, AFAIK, explicitly breaks a cross-platform portion of SDL's API. Other changes do seem to be required to SDL's public headers, such as changes to SDL_config.h and SDL_platform.h, however they are non-API-breaking, and as such, beyond the scope of this bugzilla-entry. Fixed, thanks! http://hg.libsdl.org/SDL/rev/e9d6004d2978 |