xref: /freebsd/contrib/llvm-project/lldb/bindings/lua/lua.swig (revision 0eae32dcef82f6f06de6419a0d623d7def0cc8f6)
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"
20#include "../source/Plugins/ScriptInterpreter/Lua/SWIGLuaBridge.h"
21
22// required headers for typemaps
23#include "lldb/Host/File.h"
24
25using namespace lldb_private;
26using namespace lldb;
27%}
28
29%include "interfaces.swig"
30%include "lua-wrapper.swig"
31