mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 557706 - Allow LogControl printf method to be overridden (r=nnethercote)
if LogControl.printf is made a virtual method then consumers of nanojit can more easily control how the output is managed. --HG-- extra : convert_revision : 7fa9ad2e2d57661e4290df0b3902fd809f19d768
This commit is contained in:
parent
4139494dcc
commit
8e2e572dea
@ -260,7 +260,7 @@ namespace nanojit {
|
|||||||
public:
|
public:
|
||||||
// All Nanojit and jstracer printing should be routed through
|
// All Nanojit and jstracer printing should be routed through
|
||||||
// this function.
|
// this function.
|
||||||
void printf( const char* format, ... ) PRINTF_CHECK(2,3);
|
virtual void printf( const char* format, ... ) PRINTF_CHECK(2,3);
|
||||||
|
|
||||||
// An OR of LC_Bits values, indicating what should be output
|
// An OR of LC_Bits values, indicating what should be output
|
||||||
uint32_t lcbits;
|
uint32_t lcbits;
|
||||||
|
Loading…
Reference in New Issue
Block a user