From 5ff1d6955496b3cf9a35042c9ac35db43bc336b1 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 30 Mar 2021 10:59:39 +0200 Subject: Import Ghostscript 9.54 Signed-off-by: Thomas Deutschmann --- tesseract/src/ccutil/tprintf.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tesseract/src/ccutil/tprintf.h (limited to 'tesseract/src/ccutil/tprintf.h') diff --git a/tesseract/src/ccutil/tprintf.h b/tesseract/src/ccutil/tprintf.h new file mode 100644 index 00000000..8592219f --- /dev/null +++ b/tesseract/src/ccutil/tprintf.h @@ -0,0 +1,33 @@ +/********************************************************************** + * File: tprintf.h + * Description: Trace version of printf - portable between UX and NT + * Author: Phil Cheatle + * Created: Wed Jun 28 15:01:15 BST 1995 + * + * (C) Copyright 1995, Hewlett-Packard Ltd. + ** Licensed under the Apache License, Version 2.0 (the "License"); + ** you may not use this file except in compliance with the License. + ** You may obtain a copy of the License at + ** http://www.apache.org/licenses/LICENSE-2.0 + ** Unless required by applicable law or agreed to in writing, software + ** distributed under the License is distributed on an "AS IS" BASIS, + ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ** See the License for the specific language governing permissions and + ** limitations under the License. + * + **********************************************************************/ + +#ifndef TESSERACT_CCUTIL_TPRINTF_H +#define TESSERACT_CCUTIL_TPRINTF_H + +#include // for TESS_API + +namespace tesseract { + +// Main logging function. +extern TESS_API void tprintf( // Trace printf + const char *format, ...); // Message + +} // namespace tesseract + +#endif // define TESSERACT_CCUTIL_TPRINTF_H -- cgit v1.2.3-65-gdbad