You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am integrating libSDL2 with Swift with a modulemap. Many of the simple functions that take simple arguments works, for instance SDL_Init() and SDL_VideoInit().
However, the compiler cannot find SDL_Window or SDL_WINDOWPOS_CENTERED.
SDL_Window is defined as:
typedef struct SDL_Window SDL_Window;
Environment
Ubuntu Linux 15.10
Additional Detail from JIRA
md5: a685498436985e31805104d31f31ff94
relates to:
Issue Description:
I am integrating libSDL2 with Swift with a modulemap. Many of the simple functions that take simple arguments works, for instance SDL_Init() and SDL_VideoInit().
However, the compiler cannot find SDL_Window or SDL_WINDOWPOS_CENTERED.
SDL_Window is defined as:
typedef struct SDL_Window SDL_Window;
and SDL_WINDOWPOS_CENTERED as:
#define SDL_WINDOWPOS_CENTERED_MASK 0x2FFF0000
#define SDL_WINDOWPOS_CENTERED_DISPLAY(X) (SDL_WINDOWPOS_CENTERED_MASK|(X))
#define SDL_WINDOWPOS_CENTERED SDL_WINDOWPOS_CENTERED_DISPLAY(0)
#define SDL_WINDOWPOS_ISCENTERED(X) \
(((X)&0xFFFF0000) == SDL_WINDOWPOS_CENTERED_MASK)
The text was updated successfully, but these errors were encountered: