Skip to content

Commit be744ba

Browse files
committed
[lldb][swig] Support SBFileSpec::GetPath
1 parent 8a598f1 commit be744ba

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lldb/bindings/python/python-typemaps.swig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,11 @@ AND call SWIG_fail at the same time, because it will result in a double free.
233233
}
234234

235235

236+
// For lldb::SBFileSpec::GetPath
237+
%typemap(in) (char *dst_path, size_t dst_len) = (char *dst_or_null, size_t dst_len);
238+
%typemap(argout) (char *dst_path, size_t dst_len) = (char *dst_or_null, size_t dst_len);
239+
240+
236241
// typemap for an outgoing buffer
237242
// See also SBEvent::SBEvent(uint32_t event, const char *cstr, uint32_t cstr_len).
238243
// Ditto for SBProcess::PutSTDIN(const char *src, size_t src_len).

0 commit comments

Comments
 (0)