diff options
| author | Mingming Liu <mingmingl@google.com> | 2025-09-10 15:25:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-10 15:25:31 -0700 |
| commit | 1417dafa1db9cb1b2b09438aa9f53ea5ab6e36e2 (patch) | |
| tree | 57f4b1f313c8cf74eed8819870f39c36ea263c68 /lldb/bindings/python | |
| parent | 898b813bc8a6d0276bf0f4769f5f2f64b34e632d (diff) | |
| parent | b8cefcb601ddaa18482555c4ff363c01a270c2fe (diff) | |
Merge branch 'main' into users/mingmingl-llvm/samplefdo-profile-formatusers/mingmingl-llvm/samplefdo-profile-format
Diffstat (limited to 'lldb/bindings/python')
| -rw-r--r-- | lldb/bindings/python/python.swig | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lldb/bindings/python/python.swig b/lldb/bindings/python/python.swig index 278c0eed2bab..4a5a39dc4b06 100644 --- a/lldb/bindings/python/python.swig +++ b/lldb/bindings/python/python.swig @@ -59,23 +59,6 @@ except ImportError: // Parameter types will be used in the autodoc string. %feature("autodoc", "1"); -%define ARRAYHELPER(type,name) -%inline %{ -type *new_ ## name (int nitems) { - return (type *) malloc(sizeof(type)*nitems); -} -void delete_ ## name(type *t) { - free(t); -} -type name ## _get(type *t, int index) { - return t[index]; -} -void name ## _set(type *t, int index, type val) { - t[index] = val; -} -%} -%enddef - %pythoncode%{ import uuid import re |
