mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Switch param to StringView
This commit is contained in:
parent
29b2299dc2
commit
3491793f7a
1 changed files with 2 additions and 2 deletions
|
@ -73,11 +73,11 @@ namespace System.IO
|
||||||
protected const int32 MaxPath = 260;
|
protected const int32 MaxPath = 260;
|
||||||
private const int32 MaxDirectoryLength = 255;
|
private const int32 MaxDirectoryLength = 255;
|
||||||
|
|
||||||
public static void GetFullPath(String inPartialPath, String outFullPath)
|
public static void GetFullPath(StringView inPartialPath, String outFullPath)
|
||||||
{
|
{
|
||||||
Platform.GetStrHelper(outFullPath, scope (outPtr, outSize, outResult) =>
|
Platform.GetStrHelper(outFullPath, scope (outPtr, outSize, outResult) =>
|
||||||
{
|
{
|
||||||
Platform.BfpFile_GetFullPath(inPartialPath, outPtr, outSize, (Platform.BfpFileResult*)outResult);
|
Platform.BfpFile_GetFullPath(inPartialPath.ToScopeCStr!(), outPtr, outSize, (Platform.BfpFileResult*)outResult);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue