Skip to content

Commit 20cfaf0

Browse files
authored
[lldb] Remove unused swig macro (NFC) (#157905)
1 parent ebf86b1 commit 20cfaf0

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

lldb/bindings/python/python.swig

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,6 @@ except ImportError:
5959
// Parameter types will be used in the autodoc string.
6060
%feature("autodoc", "1");
6161

62-
%define ARRAYHELPER(type,name)
63-
%inline %{
64-
type *new_ ## name (int nitems) {
65-
return (type *) malloc(sizeof(type)*nitems);
66-
}
67-
void delete_ ## name(type *t) {
68-
free(t);
69-
}
70-
type name ## _get(type *t, int index) {
71-
return t[index];
72-
}
73-
void name ## _set(type *t, int index, type val) {
74-
t[index] = val;
75-
}
76-
%}
77-
%enddef
78-
7962
%pythoncode%{
8063
import uuid
8164
import re

0 commit comments

Comments
 (0)