This patch uses SWIG to generate the Lua bindings for the SB API. It covers most of the API, but some methods require a type map similar to Python. Discussion on the mailing list: http://lists.llvm.org/pipermail/lldb-dev/2019-December/015812.html Differential revision: https://reviews.llvm.org/D71235
19 lines
338 B
Plaintext
19 lines
338 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 "./headers.swig"
|
|
|
|
%{
|
|
using namespace lldb_private;
|
|
using namespace lldb;
|
|
%}
|
|
|
|
%include "./interfaces.swig"
|