Path: blob/main/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/SWIGLuaBridge.h
39642 views
//===-- SWIGLuaBridge.h -----------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H9#define LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H1011#include "lldb/lldb-forward.h"12#include "lua.hpp"13#include "llvm/Support/Error.h"1415namespace lldb_private {1617namespace lua {1819class SWIGBridge {20public:21static llvm::Expected<bool> LLDBSwigLuaBreakpointCallbackFunction(22lua_State *L, lldb::StackFrameSP stop_frame_sp,23lldb::BreakpointLocationSP bp_loc_sp,24const StructuredDataImpl &extra_args_impl);2526static llvm::Expected<bool> LLDBSwigLuaWatchpointCallbackFunction(27lua_State *L, lldb::StackFrameSP stop_frame_sp, lldb::WatchpointSP wp_sp);28};2930} // namespace lua3132} // namespace lldb_private3334#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_LUA_SWIGLUABRIDGE_H353637