2019-12-09 07: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-09 05:34:55 +08:00
|
|
|
%include <std_string.i>
|
2020-08-13 06:47:57 +08:00
|
|
|
%include "lua-typemaps.swig"
|
|
|
|
%include "macros.swig"
|
|
|
|
%include "headers.swig"
|
2019-12-09 07:32:57 +08:00
|
|
|
|
|
|
|
%{
|
2020-11-16 03:39:16 +08:00
|
|
|
#include "llvm/Support/Error.h"
|
|
|
|
#include "llvm/Support/FormatVariadic.h"
|
|
|
|
#include "../bindings/lua/lua-swigsafecast.swig"
|
2019-12-09 07:32:57 +08:00
|
|
|
using namespace lldb_private;
|
|
|
|
using namespace lldb;
|
|
|
|
%}
|
|
|
|
|
2020-08-13 06:47:57 +08:00
|
|
|
%include "interfaces.swig"
|
2020-11-16 03:39:16 +08:00
|
|
|
%include "lua-wrapper.swig"
|