mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 06:47:08 -05:00
Merge topic 'stdout-string'
3132ea801c cmSystemTools: Stdout(),Stderr() accept std::string argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2829
This commit is contained in:
@@ -79,13 +79,11 @@ public:
|
||||
typedef void (*OutputCallback)(const char*, size_t length, void*);
|
||||
|
||||
///! Send a string to stdout
|
||||
static void Stdout(const char* s);
|
||||
static void Stdout(const char* s, size_t length);
|
||||
static void Stdout(const std::string& s);
|
||||
static void SetStdoutCallback(OutputCallback, void* clientData = nullptr);
|
||||
|
||||
///! Send a string to stderr
|
||||
static void Stderr(const char* s);
|
||||
static void Stderr(const char* s, size_t length);
|
||||
static void Stderr(const std::string& s);
|
||||
static void SetStderrCallback(OutputCallback, void* clientData = nullptr);
|
||||
|
||||
typedef bool (*InterruptCallback)(void*);
|
||||
|
||||
Reference in New Issue
Block a user