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