185578db6SPavel Labath //===-- SWIGLuaBridge.h -----------------------------------------*- C++ -*-===//
285578db6SPavel Labath //
385578db6SPavel Labath // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
485578db6SPavel Labath // See https://llvm.org/LICENSE.txt for license information.
585578db6SPavel Labath // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
685578db6SPavel Labath //
785578db6SPavel Labath //===----------------------------------------------------------------------===//
885578db6SPavel Labath 
985578db6SPavel Labath #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H
1085578db6SPavel Labath #define LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H
1185578db6SPavel Labath 
1285578db6SPavel Labath #include "lldb/lldb-forward.h"
1385578db6SPavel Labath #include "lua.hpp"
1485578db6SPavel Labath #include "llvm/Support/Error.h"
1585578db6SPavel Labath 
1685578db6SPavel Labath namespace lldb_private {
1785578db6SPavel Labath 
1885578db6SPavel Labath llvm::Expected<bool> LLDBSwigLuaBreakpointCallbackFunction(
1985578db6SPavel Labath     lua_State *L, lldb::StackFrameSP stop_frame_sp,
20*82de8df2SPavel Labath     lldb::BreakpointLocationSP bp_loc_sp,
21*82de8df2SPavel Labath     const StructuredDataImpl &extra_args_impl);
2285578db6SPavel Labath 
2385578db6SPavel Labath llvm::Expected<bool> LLDBSwigLuaWatchpointCallbackFunction(
2485578db6SPavel Labath     lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp);
2585578db6SPavel Labath 
2685578db6SPavel Labath } // namespace lldb_private
2785578db6SPavel Labath 
2885578db6SPavel Labath #endif // LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H
29