xref: /freebsd/contrib/llvm-project/lldb/bindings/lua/lua.swig (revision 0eae32dcef82f6f06de6419a0d623d7def0cc8f6)
1e8d8bef9SDimitry Andric/*
2e8d8bef9SDimitry Andric   lldb.swig
3e8d8bef9SDimitry Andric
4e8d8bef9SDimitry Andric   This is the input file for SWIG, to create the appropriate C++ wrappers and
5e8d8bef9SDimitry Andric   functions for various scripting languages, to enable them to call the
6e8d8bef9SDimitry Andric   liblldb Script Bridge functions.
7e8d8bef9SDimitry Andric*/
8e8d8bef9SDimitry Andric
9e8d8bef9SDimitry Andric%module lldb
10e8d8bef9SDimitry Andric
11e8d8bef9SDimitry Andric%include <std_string.i>
12e8d8bef9SDimitry Andric%include "lua-typemaps.swig"
13e8d8bef9SDimitry Andric%include "macros.swig"
14e8d8bef9SDimitry Andric%include "headers.swig"
15e8d8bef9SDimitry Andric
16e8d8bef9SDimitry Andric%{
17e8d8bef9SDimitry Andric#include "llvm/Support/Error.h"
18e8d8bef9SDimitry Andric#include "llvm/Support/FormatVariadic.h"
19e8d8bef9SDimitry Andric#include "../bindings/lua/lua-swigsafecast.swig"
20*0eae32dcSDimitry Andric#include "../source/Plugins/ScriptInterpreter/Lua/SWIGLuaBridge.h"
21349cc55cSDimitry Andric
22349cc55cSDimitry Andric// required headers for typemaps
23349cc55cSDimitry Andric#include "lldb/Host/File.h"
24349cc55cSDimitry Andric
25e8d8bef9SDimitry Andricusing namespace lldb_private;
26e8d8bef9SDimitry Andricusing namespace lldb;
27e8d8bef9SDimitry Andric%}
28e8d8bef9SDimitry Andric
29e8d8bef9SDimitry Andric%include "interfaces.swig"
30e8d8bef9SDimitry Andric%include "lua-wrapper.swig"
31