Handle Mix_ methods

This commit is contained in:
MINI\jairo 2025-06-28 08:42:56 -05:00
parent c202ba42ea
commit c7b853e9ce
2 changed files with 1 additions and 5 deletions

View File

@ -15,7 +15,7 @@ namespace SDL.SourceGeneration
{ {
public readonly Dictionary<string, List<GeneratedMethod>> Methods = new Dictionary<string, List<GeneratedMethod>>(); public readonly Dictionary<string, List<GeneratedMethod>> Methods = new Dictionary<string, List<GeneratedMethod>>();
private static readonly string[] sdlPrefixes = ["SDL_", "TTF_", "IMG_"]; private static readonly string[] sdlPrefixes = ["SDL_", "TTF_", "IMG_", "Mix_"];
/// <summary> /// <summary>
/// Checks whether the method is from any SDL library. /// Checks whether the method is from any SDL library.

View File

@ -180,10 +180,6 @@ headers = [
def prepare_sdl_source(): def prepare_sdl_source():
for lib in SDL_libs: for lib in SDL_libs:
subprocess.run([
"git", "config", "--global", "--add", "safe.directory",
repository_root / SDL_lib_root / lib
])
subprocess.run([ subprocess.run([
"git", "git",
"reset", "reset",