Now passing strings between c++ -> c# -> c++

This commit is contained in:
Antoine Pilote
2023-10-13 01:45:07 -04:00
parent cb804085ed
commit 4e23e6a54b
4 changed files with 42 additions and 18 deletions

View File

@@ -19,10 +19,9 @@ namespace Nuake.Net
/// Prints a message to the console log
/// </summary>
/// <param name="message">message to be printed</param>
public void Log()
public void Log(NativeString input)
{
NativeString str = "Hello from C#";
unsafe { LoggerLogIcall(str); }
unsafe { LoggerLogIcall(input + " - hello from c# man"); }
}
}
}