Merge pull request #5 from EnokViking/main

small fix to enable bindgen of raygui and set invariant culture
This commit is contained in:
Braedon Lewis 2024-01-16 20:44:21 -05:00 committed by GitHub
commit fb507f330e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,6 +3,7 @@ using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Globalization;
namespace RaylibBeefGenerator
{
@ -42,6 +43,7 @@ namespace RaylibBeefGenerator
public static void Main(string[] args)
{
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
Console.WriteLine($"Generating files at {OutputDir}");
Console.WriteLine($"...");
@ -365,6 +367,7 @@ namespace RaylibBeefGenerator
input = ReplaceWholeWord(input, "box", "@box");
input = ReplaceWholeWord(input, "params", "@params");
input = ReplaceWholeWord(input, "readonly", "@readonly");
input = ReplaceWholeWord(input, "checked", "@checked");
return input;
}