added LuaLong function
This commit is contained in:
parent
fef44649a0
commit
2d169cdb7d
|
@ -35,6 +35,11 @@ namespace BizHawk.Client.Common
|
|||
return (uint)(double)luaArg;
|
||||
}
|
||||
|
||||
protected static long LuaLong(object luaArg)
|
||||
{
|
||||
return (long)(double)luaArg;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// LuaInterface requires the exact match of parameter count, except optional parameters.
|
||||
/// So, if you want to support variable arguments, declare them as optional and pass
|
||||
|
|
Loading…
Reference in New Issue