xref: /freebsd/contrib/llvm-project/lldb/bindings/lua/lua.swig (revision 994297b01b98816bea1abf45ae4bac1bc69ee7a0)
1/*
2   lldb.swig
3
4   This is the input file for SWIG, to create the appropriate C++ wrappers and
5   functions for various scripting languages, to enable them to call the
6   liblldb Script Bridge functions.
7*/
8
9%module lldb
10
11%include <std_string.i>
12%include "lua-typemaps.swig"
13%include "macros.swig"
14%include "headers.swig"
15
16%{
17#include "llvm/Support/Error.h"
18#include "llvm/Support/FormatVariadic.h"
19#include "../bindings/lua/lua-swigsafecast.swig"
20using namespace lldb_private;
21using namespace lldb;
22%}
23
24%include "interfaces.swig"
25%include "lua-wrapper.swig"
26