
This reverts 3 commit: - f0731d5b61ba798e6d5a63a92d9228010e5a3b50. - 8e0a087571a31057bb98939e3ada73227bed83c7. - f2f5d6fb8d53bc4bd93a3d4e110134ed017b636f. This changes were introduced to silence the warnings that are printed when generating the lldb module documentation for the website but it changed the python bindings and causes test failures on the macos bot: https://green.lab.llvm.org/green/job/lldb-cmake/59438/ We will have to consider other options to silence these warnings.
21 lines
718 B
OpenEdge ABL
21 lines
718 B
OpenEdge ABL
STRING_EXTENSION_OUTSIDE(SBCommandReturnObject)
|
|
|
|
%extend lldb::SBCommandReturnObject {
|
|
// transfer_ownership does nothing, and is here for compatibility with
|
|
// old scripts. Ownership is tracked by reference count in the ordinary way.
|
|
|
|
void SetImmediateOutputFile(lldb::FileSP BORROWED, bool transfer_ownership) {
|
|
self->SetImmediateOutputFile(BORROWED);
|
|
}
|
|
void SetImmediateErrorFile(lldb::FileSP BORROWED, bool transfer_ownership) {
|
|
self->SetImmediateErrorFile(BORROWED);
|
|
}
|
|
|
|
// wrapping the variadic Printf() with a plain Print()
|
|
// because it is hard to support varargs in SWIG bridgings
|
|
void Print (const char* str)
|
|
{
|
|
self->Printf("%s", str);
|
|
}
|
|
}
|