public static HookInfo GetStack(IntPtr luaState, int level, out int result) { var info = new HookInfo(); result = ScriptApi.GetStack(luaState, level, ref info); return(info); }