mirror of https://github.com/ppy/SDL3-CS.git
Handle Mix_ methods
This commit is contained in:
parent
c202ba42ea
commit
c7b853e9ce
|
|
@ -15,7 +15,7 @@ namespace SDL.SourceGeneration
|
|||
{
|
||||
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>
|
||||
/// Checks whether the method is from any SDL library.
|
||||
|
|
|
|||
|
|
@ -180,10 +180,6 @@ headers = [
|
|||
|
||||
def prepare_sdl_source():
|
||||
for lib in SDL_libs:
|
||||
subprocess.run([
|
||||
"git", "config", "--global", "--add", "safe.directory",
|
||||
repository_root / SDL_lib_root / lib
|
||||
])
|
||||
subprocess.run([
|
||||
"git",
|
||||
"reset",
|
||||
|
|
|
|||
Loading…
Reference in New Issue