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