1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 23:34:10 +02:00

Fixed mangling of extern UTF8 helpers

This commit is contained in:
Brian Fiete 2022-01-29 09:58:00 -05:00
parent 3338f3c069
commit e1d75d66bf

View file

@ -1529,10 +1529,9 @@ namespace System
CaseConv(false); CaseConv(false);
} }
//[CLink] [CallingConvention(.Cdecl)]
//static extern int utf8proc_map(char8* str, int strlen, out char8* outStr, int options);
static extern int UTF8GetAllocSize(char8* str, int strlen, int32 options); static extern int UTF8GetAllocSize(char8* str, int strlen, int32 options);
[CallingConvention(.Cdecl)]
static extern int UTF8Map(char8* str, int strlen, char8* outStr, int outSize, int32 options); static extern int UTF8Map(char8* str, int strlen, char8* outStr, int outSize, int32 options);
public Result<void> Normalize(UnicodeNormalizationOptions unicodeNormalizationOptions = .NFC) public Result<void> Normalize(UnicodeNormalizationOptions unicodeNormalizationOptions = .NFC)