Skip to content

Commit 85578db

Browse files
committed
[lldb/lua] Add a file that should have been a part of a52af6d
1 parent a52af6d commit 85578db

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
//===-- SWIGLuaBridge.h -----------------------------------------*- C++ -*-===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
9+
#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H
10+
#define LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H
11+
12+
#include "lldb/lldb-forward.h"
13+
#include "lua.hpp"
14+
#include "llvm/Support/Error.h"
15+
16+
namespace lldb_private {
17+
18+
llvm::Expected<bool> LLDBSwigLuaBreakpointCallbackFunction(
19+
lua_State *L, lldb::StackFrameSP stop_frame_sp,
20+
lldb::BreakpointLocationSP bp_loc_sp, StructuredDataImpl *extra_args_impl);
21+
22+
llvm::Expected<bool> LLDBSwigLuaWatchpointCallbackFunction(
23+
lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp);
24+
25+
} // namespace lldb_private
26+
27+
#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H

0 commit comments

Comments
 (0)