Here you find hints and tools which help to translate SDL3 header files into Pascal units for the SDL3 for Pascal Project.
- Get familiar with the Translation Code Style Sheet
This guideline helps to translate typical C constructs into Pascal as expected by our project. The goal is to provide better consistency in the source code throughout the project and to make it easier to find certain code parts in the C headers/Pascal units.
- Read through the tips and tricks below
You may find some helpful tips which improve the efficiency of the translation.
- Check for useful tools
Check the tools in their respective folder. They may help to save you a lot of time. (Unfortunately, there is just one tool provided at the moment though.)
In Lazarus you can use regular expressions
in the replace function (Strg + R). You need to check the respective check
box.