| Summary: | [PATCH] Add name to SDL_Point structure | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dmitry Marakasov <amdmi3> |
| Component: | *don't know* | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | FreeBSD | ||
| Attachments: | Fix | ||
Fixed, thanks! http://hg.libsdl.org/SDL/rev/384d5ba7ee44 |
Created attachment 1316 [details] Fix Unlike SDL_Rect (typedef struct SDL_Rect {} SDL_Rect), SDL_Point (typedef struct {} SDL_Point) structure is unnamed. This feels inconsistent and makes it impossible to use forward declaration for SDL_Point, having to include whole SDL_rect.h instead. The attached patch fixes this.