xref: /freebsd/contrib/llvm-project/lldb/bindings/lua/lua.swig (revision 349cc55c9796c4596a5b9904cd3281af295f878f)
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*349cc55cSDimitry Andric
21*349cc55cSDimitry Andric// required headers for typemaps
22*349cc55cSDimitry Andric#include "lldb/Host/File.h"
23*349cc55cSDimitry Andric
24e8d8bef9SDimitry Andricusing namespace lldb_private;
25e8d8bef9SDimitry Andricusing namespace lldb;
26e8d8bef9SDimitry Andric%}
27e8d8bef9SDimitry Andric
28e8d8bef9SDimitry Andric%include "interfaces.swig"
29e8d8bef9SDimitry Andric%include "lua-wrapper.swig"
30