mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
The current SWIG extensions for the string conversion operator is Python specific because it uses the PythonObjects. This means that the code cannot be reused for other SWIG supported languages such as Lua. This reimplements the extensions in a more generic way that can be reused. It uses a SWIG macro to reduce code duplication. Differential revision: https://reviews.llvm.org/D72377
21 lines
387 B
Plaintext
21 lines
387 B
Plaintext
/*
|
|
lldb.swig
|
|
|
|
This is the input file for SWIG, to create the appropriate C++ wrappers and
|
|
functions for various scripting languages, to enable them to call the
|
|
liblldb Script Bridge functions.
|
|
*/
|
|
|
|
%module lldb
|
|
|
|
%include <std_string.i>
|
|
%include "./macros.swig"
|
|
%include "./headers.swig"
|
|
|
|
%{
|
|
using namespace lldb_private;
|
|
using namespace lldb;
|
|
%}
|
|
|
|
%include "./interfaces.swig"
|