Implement .NET 7 runtime support and bindings generation

This commit is contained in:
2022-11-17 19:49:39 +02:00
parent fe943ca010
commit 96dc279ebd
89 changed files with 6009 additions and 503 deletions

View File

@@ -445,7 +445,7 @@ namespace FlaxEditor.Windows
int logCount;
do
{
logCount = Editor.Internal_ReadOutputLogs(_outMessages, _outLogTypes, _outLogTimes);
logCount = Editor.Internal_ReadOutputLogs(ref _outMessages, ref _outLogTypes, ref _outLogTimes, OutCapacity);
for (int i = 0; i < logCount; i++)
{

View File

@@ -19,16 +19,16 @@ namespace FlaxEngine
{
get
{
fixed (char* name = &Name0)
fixed (short* name = Name0)
{
return new string(name);
return new string((char*)name);
}
}
}
internal unsafe bool NameStartsWith(string prefix)
{
fixed (char* name = &Name0)
fixed (short* name = Name0)
{
fixed (char* p = prefix)
{