mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-15 12:27:43 +01:00
Change SafeProcessHandle to IntPtr again, ugh
This commit is contained in:
parent
4042d138b2
commit
32af098159
13 changed files with 363 additions and 229 deletions
|
|
@ -1,4 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -23,7 +22,7 @@ namespace Dalamud.Bootstrap.SqexArg
|
|||
/// </summary>
|
||||
/// <param name="argument"></param>
|
||||
/// <returns></returns>
|
||||
public static ArgumentBuilder Parse(ReadOnlySpan<char> argument)
|
||||
public static ArgumentBuilder Parse(string argument)
|
||||
{
|
||||
return new ArgumentBuilder(ArgumentParser.Parse(argument));
|
||||
}
|
||||
|
|
@ -60,7 +59,7 @@ namespace Dalamud.Bootstrap.SqexArg
|
|||
var escapedKey = EscapeValue(key);
|
||||
var escapedvalue = EscapeValue(value);
|
||||
|
||||
buffer.Append($" /{escapedKey} ={escapedvalue}");
|
||||
buffer.Append($" /{escapedKey} ={escapedvalue}"); // TODO: this is broken
|
||||
}
|
||||
|
||||
private static string EscapeValue(string value)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ namespace Dalamud.Bootstrap.SqexArg
|
|||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="SqexArgException">Thrown when failed to parse the input.</exception>
|
||||
public static IEnumerable<KeyValuePair<string, string>> Parse(ReadOnlySpan<char> input)
|
||||
public static IEnumerable<KeyValuePair<string, string>> Parse(string input)
|
||||
{
|
||||
var test = KeyMarker.Parse(input);
|
||||
var result = Parser.Parse(input);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue