[all-commits] [llvm/llvm-project] 5997e8: [lldb/Lua] add initial Lua typemaps

Pedro Tammela via All-commits all-commits at lists.llvm.org
Sat Jan 23 07:18:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5997e8987f681c54c266ab2d422528de9235b25f
      https://github.com/llvm/llvm-project/commit/5997e8987f681c54c266ab2d422528de9235b25f
  Author: Pedro Tammela <pctammela at gmail.com>
  Date:   2021-01-23 (Sat, 23 Jan 2021)

  Changed paths:
    M lldb/bindings/lua/lua-typemaps.swig

  Log Message:
  -----------
  [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




More information about the All-commits mailing list