cmSystemTools: Simplify InterruptCallback definition
Use the typedef to declare the member instead of duplicating the type. Use default initialization instead of an explicit zero initializer.
This commit is contained in:
parent
73b13f5641
commit
a9ae1d7a60
|
@ -122,11 +122,11 @@ bool cmSystemTools::s_DisableMessages = false;
|
||||||
bool cmSystemTools::s_ForceUnixPaths = false;
|
bool cmSystemTools::s_ForceUnixPaths = false;
|
||||||
|
|
||||||
cmSystemTools::MessageCallback cmSystemTools::s_MessageCallback;
|
cmSystemTools::MessageCallback cmSystemTools::s_MessageCallback;
|
||||||
|
cmSystemTools::InterruptCallback cmSystemTools::s_InterruptCallback;
|
||||||
void (*cmSystemTools::s_StdoutCallback)(const char*, int len, void*);
|
void (*cmSystemTools::s_StdoutCallback)(const char*, int len, void*);
|
||||||
void* cmSystemTools::s_MessageCallbackClientData;
|
void* cmSystemTools::s_MessageCallbackClientData;
|
||||||
void* cmSystemTools::s_StdoutCallbackClientData = 0;
|
void* cmSystemTools::s_StdoutCallbackClientData = 0;
|
||||||
bool (*cmSystemTools::s_InterruptCallback)(void*);
|
void* cmSystemTools::s_InterruptCallbackClientData;
|
||||||
void* cmSystemTools::s_InterruptCallbackClientData = 0;
|
|
||||||
|
|
||||||
// replace replace with with as many times as it shows up in source.
|
// replace replace with with as many times as it shows up in source.
|
||||||
// write the result into source.
|
// write the result into source.
|
||||||
|
|
Loading…
Reference in New Issue