Move doc comments to interface

This commit is contained in:
kalimag 2024-11-20 15:13:20 +01:00
parent 06bc2efe2b
commit 5663db1d2e
2 changed files with 6 additions and 6 deletions

View File

@ -51,6 +51,12 @@ namespace BizHawk.Client.Common
void SpawnAndSetFileThread(string pathToLoad, LuaFile lf);
/// <summary>
/// Executes Lua code. Automatically prepends <see langword="return"/> statement if possible.
/// </summary>
/// <returns>
/// Values returned by the Lua script, if any.
/// </returns>
object[] ExecuteString(string command);
(bool WaitForFrame, bool Terminated) ResumeScript(LuaFile lf);

View File

@ -323,12 +323,6 @@ namespace BizHawk.Client.EmuHawk
public void SpawnAndSetFileThread(string pathToLoad, LuaFile lf)
=> lf.Thread = SpawnCoroutine(pathToLoad);
/// <summary>
/// Executes Lua code. Automatically prepends <see langword="return"/> statement if possible.
/// </summary>
/// <returns>
/// Values returned by the Lua script, if any.
/// </returns>
public object[] ExecuteString(string command)
{
const string ChunkName = "input"; // shows up in error messages