mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-29 23:06:41 +00:00
* Fix crash reported in #4070. * Add newline to warning message * Add comment for using cout instead of the logger
18 lines
442 B
C
18 lines
442 B
C
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#include "core/session/onnxruntime_cxx_api.h"
|
|
#include <gtest/gtest.h>
|
|
|
|
#ifdef _WIN32
|
|
typedef const wchar_t* PATH_TYPE;
|
|
#define TSTR(X) L##X
|
|
#else
|
|
#define TSTR(X) (X)
|
|
typedef const char* PATH_TYPE;
|
|
#endif
|
|
|
|
//empty
|
|
static inline void ORT_API_CALL MyLoggingFunction(void*, OrtLoggingLevel, const char*, const char*, const char*, const char*) {
|
|
}
|
|
|