forked from OSchip/llvm-project
<rdar://problem/12099999> renaming SBStream::Printf to Print in the scripting world in order to avoid supporting varargs through SWIG
llvm-svn: 165274
This commit is contained in:
parent
9f9e5826f2
commit
70fd574c2e
|
@ -68,9 +68,15 @@ public:
|
|||
size_t
|
||||
GetSize();
|
||||
|
||||
void
|
||||
Printf (const char *format, ...);
|
||||
|
||||
// wrapping the variadic Printf() with a plain Print()
|
||||
// because it is hard to support varargs in SWIG bridgings
|
||||
%extend {
|
||||
void Print (const char* str)
|
||||
{
|
||||
self->Printf(str);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
RedirectToFile (const char *path, bool append);
|
||||
|
||||
|
|
Loading…
Reference in New Issue