Skip to content

Test type sizes #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

suve
Copy link
Contributor

@suve suve commented Jun 1, 2025

This PR adds a quick-and-dirty bash script that generates two programs: one in Pascal, and the other in C. The programs print a list of sizes of SDL_* types. The outputs are then compared for any discrepancies.

suve added 4 commits May 25, 2025 13:41
This commit adds a bash script that generates two small prorgrams,
one in Pascal and the second one in C. The programs print the size
of each SDL_* type. The outputs are then compared to check for any
discrepancies.
SDL 3.2.12 added two more fields to this record:
'integer_x' and 'integer_y'.
This change necessitates switching from running the CI job straight on
the GitHub Actions Ubuntu runner to using a container, as the runners
use an old Ubuntu version that does not ship SDL3.
@Free-Pascal-meets-SDL-Website
Copy link
Contributor

Wow thanks, dirty indeed though... I wonder, if it is really necessary to run this test script on a regular basis on committing? Maybe having it residing in the test folder for a manual check now and then could be sufficient.

Nevertheless, let's go with it as proposed by you and see :).

@Free-Pascal-meets-SDL-Website Free-Pascal-meets-SDL-Website merged commit bac7fc4 into PascalGameDevelopment:main Jun 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants