Script to automatically fix most deprecated API usage (where applicable) #12
Labels
Concept approved
PRs welcomed!
Feature request
Issues that request the addition or enhancement of a feature
Looking through some of the contents that were imported from the old developer wiki made me find this old script by SmallJoker that would rename some deprecated names to their new counterparts. Such a script, but more expanded should be available here such that developers can easier update their mods and games to not use deprecated functions.
For more inspiration see SDL's tooling for helping with the migration to SDL3 - they have both python scripts that runs regular regex replacements for renames as well as more advanced semantical replacements using Coccinelle, which both allows automatically changing simple things without developer intervention as well as putting FIXME code comments for things that should be checked by a developer.
The text was updated successfully, but these errors were encountered: