2019-12-08 15:32:57 -08:00
|
|
|
/*
|
|
|
|
|
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
|
|
|
|
|
|
2020-01-08 13:34:55 -08:00
|
|
|
%include <std_string.i>
|
2020-08-12 15:47:57 -07:00
|
|
|
%include "lua-typemaps.swig"
|
|
|
|
|
%include "macros.swig"
|
|
|
|
|
%include "headers.swig"
|
2019-12-08 15:32:57 -08:00
|
|
|
|
|
|
|
|
%{
|
2020-11-15 19:39:16 +00:00
|
|
|
#include "llvm/Support/Error.h"
|
|
|
|
|
#include "llvm/Support/FormatVariadic.h"
|
|
|
|
|
#include "../bindings/lua/lua-swigsafecast.swig"
|
2021-12-06 14:56:40 +01:00
|
|
|
#include "../source/Plugins/ScriptInterpreter/Lua/SWIGLuaBridge.h"
|
2021-10-12 22:08:05 +08:00
|
|
|
|
|
|
|
|
// required headers for typemaps
|
|
|
|
|
#include "lldb/Host/File.h"
|
|
|
|
|
|
2019-12-08 15:32:57 -08:00
|
|
|
using namespace lldb_private;
|
|
|
|
|
using namespace lldb;
|
|
|
|
|
%}
|
|
|
|
|
|
2020-08-12 15:47:57 -07:00
|
|
|
%include "interfaces.swig"
|
2020-11-15 19:39:16 +00:00
|
|
|
%include "lua-wrapper.swig"
|