mirror of
https://github.com/Starpelly/raylib-beef.git
synced 2025-03-15 13:20:03 +01:00
Merge pull request #5 from EnokViking/main
small fix to enable bindgen of raygui and set invariant culture
This commit is contained in:
commit
fb507f330e
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,7 @@ using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Globalization;
|
||||||
|
|
||||||
namespace RaylibBeefGenerator
|
namespace RaylibBeefGenerator
|
||||||
{
|
{
|
||||||
|
@ -42,6 +43,7 @@ namespace RaylibBeefGenerator
|
||||||
|
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
||||||
Console.WriteLine($"Generating files at {OutputDir}");
|
Console.WriteLine($"Generating files at {OutputDir}");
|
||||||
Console.WriteLine($"...");
|
Console.WriteLine($"...");
|
||||||
|
|
||||||
|
@ -365,6 +367,7 @@ namespace RaylibBeefGenerator
|
||||||
input = ReplaceWholeWord(input, "box", "@box");
|
input = ReplaceWholeWord(input, "box", "@box");
|
||||||
input = ReplaceWholeWord(input, "params", "@params");
|
input = ReplaceWholeWord(input, "params", "@params");
|
||||||
input = ReplaceWholeWord(input, "readonly", "@readonly");
|
input = ReplaceWholeWord(input, "readonly", "@readonly");
|
||||||
|
input = ReplaceWholeWord(input, "checked", "@checked");
|
||||||
|
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue