Comments (5)
got atm no pascal compiler running and can't test it, can anyone create a (tested) pull request for this? else i'll fix it in a few days.
from pascal-sdl-2-headers.
Struggle with time here, too, atm. On a short examination I also noticed
that SDL_SYSWM_ANDROID seems to be missing in sdlsyswm.inc at SysWMinfo
record:
{**
- The custom window manager information structure.
- When this structure is returned, it holds information about which
- low level system it is using, and will be one of SDL_SYSWM_TYPE.
}
PSDL_SysWMinfo = ^TSDL_SysWMinfo;
TSDL_SysWMinfo = record
version: TSDL_version;
Case subsystem: TSDL_SYSWM_TYPE of
( Cannot have empty record case *)
SDL_SYSWM_UNKNOWN: (dummy: sInt32);
{$IFDEF SDL_VIDEO_DRIVER_WINDOWS}
SDL_SYSWM_WINDOWS: (win : __WMINFO_WINDOWS);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_WINRT}
SDL_SYSWM_WINRT: (winrt : __WMINFO_WINRT);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_X11}
SDL_SYSWM_X11: (x11 : __WMINFO_X11);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_DIRECTFB}
SDL_SYSWM_DIRECTFB: (dfb : __WMINFO_DFB);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_COCOA}
SDL_SYSWM_COCOA: (cocoa : __WMINFO_COCOA);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_UIKIT}
SDL_SYSWM_UIKIT: (uikit : __WMINFO_UIKIT);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_WAYLAND}
SDL_SYSWM_WAYLAND: (wl : __WMINFO_WAYLAND);
{$ENDIF}
{$IFDEF SDL_VIDEO_DRIVER_MIR}
SDL_SYSWM_MIR: (mir : __WMINFO_MIR);
{$ENDIF}
end;
from pascal-sdl-2-headers.
Is this structure defined in the header itself or only in the C source? if it's in the sources, then it's not necessary implementing it.
from pascal-sdl-2-headers.
This patch takes care of the original issue.
from pascal-sdl-2-headers.
thanks to @gr-pasc fixed now #50
from pascal-sdl-2-headers.
Related Issues (20)
- implementation expected but ; found error in SDL2_net.pas HOT 5
- Missing field "last_fullscreen_flags" in TSDL_Window HOT 2
- Delphi compilation HOT 2
- f21f039 broke Free Pascal support HOT 1
- Linux jedi.inc compile problems HOT 2
- Invalid TSDL_RendererFlip declaration HOT 2
- Missing SDL_GL_GetDrawableSize HOT 2
- post link is wrong for dgl sources HOT 2
- it Can be used in the firemonkey? HOT 1
- missing some core units HOT 1
- sdl2.0.8 crashes with software rasterizer HOT 10
- Switch to GitLab? (MS bought GitHub) HOT 5
- Change license in accordance with SDL 2 library? HOT 4
- A small bug in sdl2_ttf.pas HOT 1
- Returning PAnsiChar instead of PChar HOT 4
- Compiling for Android from Delphi HOT 4
- more of s uggestion than a bug HOT 2
- Support static linking HOT 2
- Kindly asking for integrating the pull requests. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pascal-sdl-2-headers.