[lldb/Lua] add initial Lua typemaps
authorPedro Tammela <pctammela@gmail.com>
Mon, 18 Jan 2021 23:33:43 +0000 (23:33 +0000)
committerPedro Tammela <pctammela@gmail.com>
Sat, 23 Jan 2021 14:53:11 +0000 (14:53 +0000)
commit5997e8987f681c54c266ab2d422528de9235b25f
tree9da20612ede2f3bec4a4f485bf6fe195af5f4213
parentd5c4de40c679f07c575db1fb5c5893cb93b3d30e
[lldb/Lua] add initial Lua typemaps

This patch adds the integer handling typemaps and the typemap for
string returning functions.

The integer handling typemaps overrides SWIG's own typemaps to distinct
the handling of integers from floating point.

The typemap for string returning functions is a port of Python's
typemap.

Differential Revision: https://reviews.llvm.org/D94937
lldb/bindings/lua/lua-typemaps.swig