Files
clang-p2996/lldb/bindings/lua/lua.swig
Siger Yang 67f94e5a97 [lldb/lua] Supplement Lua bindings for lldb module
Add necessary typemaps for Lua bindings, together with some other files.

Signed-off-by: Siger Yang <sigeryeung@gmail.com>

Reviewed By: tammela

Differential Revision: https://reviews.llvm.org/D108090
2021-10-12 22:10:21 +08:00

30 lines
623 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"
// required headers for typemaps
#include "lldb/Host/File.h"
using namespace lldb_private;
using namespace lldb;
%}
%include "interfaces.swig"
%include "lua-wrapper.swig"