Files
clang-p2996/lldb/bindings/lua/lua.swig
Pavel Labath a52af6d371 [lldb] Remove extern "C" from lldb-swig-lua interface
This is the lua equivalent of 9a14adeae0.
2021-12-06 14:57:44 +01:00

31 lines
690 B
Plaintext

/*
lldb.swig
This is the input file for SWIG, to create the appropriate C++ wrappers and
functions for various scripting languages, to enable them to call the
liblldb Script Bridge functions.
*/
%module lldb
%include <std_string.i>
%include "lua-typemaps.swig"
%include "macros.swig"
%include "headers.swig"
%{
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include "../bindings/lua/lua-swigsafecast.swig"
#include "../source/Plugins/ScriptInterpreter/Lua/SWIGLuaBridge.h"
// required headers for typemaps
#include "lldb/Host/File.h"
using namespace lldb_private;
using namespace lldb;
%}
%include "interfaces.swig"
%include "lua-wrapper.swig"